Optimize [gasp] table to make icons smooth #10499

Open
be5invis opened this Issue Jan 10, 2017 · 5 comments

Projects

None yet

2 participants

@be5invis
be5invis commented Jan 10, 2017 edited

Current gasp for all sizes : 0x0002
Preferred gasp (used by ttfautohint) : 0x000F, it will enable y-axis antialiasing on Windows

@tagliala
Member

Hi!

Thanks for being part of the Font Awesome Community.

Is this related to the .ttf format?

@be5invis

@tagliala Yes, ttf, woff, woff2, all of them.

@tagliala
Member

Problem is that ttf, woff and woff2 are all generated from the .otf via Font Squirrel. Does the .otf file has the same value for gasp?

@be5invis
be5invis commented Jan 10, 2017 edited

@tagliala
CFF outlines? OTFs with outlines in CFF format do not contain gasp table.
Maybe you can use ttx to modify that table for TTF, and compress them into WOFF, WOFF2, etc.

@tagliala
Member

@be5invis sorry but I don't know font implementation details. All I know is that Dave uses the .otf file to generate the other formats via Font Squirrel and so he doesn't have full control of settings

Maybe you can use ttx to modify that table for TTF, and compress them into WOFF, WOFF2, etc.

Yes, we could, but since this could positively affect all other webfonts, you could try to get in touch with Font Squirrel and ask them why are using 0x0002 instead of 0x000F

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment