-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting TTC Fonts #12
Comments
piersdeseilligny
added a commit
to piersdeseilligny/font-finder
that referenced
this issue
Nov 22, 2021
Support for decoding the header of ttc files and the first font within it, but broken for any subsequent fonts
So I've been able to add initial support for TTC Files (see commit above) but am having difficulty with the apparent necessity to 'reset' a stream's position, after a font within the collection has been parsed (presumably here). Given that you also wrote |
piersdeseilligny
added a commit
to piersdeseilligny/font-finder
that referenced
this issue
Dec 17, 2021
Add full support for finding and parsing TrueType Collection fonts Potentially breaking change, because get and getMetadata can now return a NamedFont[] array if the specified file is a TrueType Collection (.ttc)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed that font-finder doesn't support TTC Fonts, which makes it difficult to support Chinese text in applications which use font-finder, as all of Windows' default Chinese fonts are .ttc.
If necessary, I can look into adding support myself - is there anything I should know before starting to look into this? Admittedly I know very little about font formats, so would be researching all of this from scratch.
The text was updated successfully, but these errors were encountered: