-
Notifications
You must be signed in to change notification settings - Fork 65
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
Extract kerning and shaping tables from fonts? #85
Comments
Good questions, I'll add this tidbit:
http://sourceforge.net/projects/freetype/files/freetype2/2.5.3/ |
Opentype.js has also been working on basic GPOS parsing: |
Current thinking is to implement something like Harfbuzz's I started working on porting pomax/A-binary-parser-generator to Node.js with Browserify today to try extracting and parsing the shaping tables in JavaScript, but I think that approach will end up being slower, more difficult and result in less useful data (JavaScript objects instead of binary data HarfBuzz expects) than just doing this through FreeType. |
I just posted a few comments here while I actually intended to post them to issue #95. I have just deleted them from here and posted them to the correct issue. Sorry. |
tl;dr Can we use ICU or HarfBuzz to extract shaping and kerning tables from a font?
From discussion with @nickidlugash on adding kerning support:
FT_Get_Kerning
for all possible glyph pairs seems like a terrible idea.The text was updated successfully, but these errors were encountered: