Skip to content
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

Small FAQ nit: DirectWrite applies hinting in x-direction, FreeType's v40 doesn't #102

Closed
madig opened this issue Sep 29, 2019 · 2 comments

Comments

@madig
Copy link

madig commented Sep 29, 2019

https://github.com/pcwalton/font-kit/wiki/FAQ
For GDI, the solution is a complex series of hacks; for DirectWrite, the solution is to ignore all horizontal hinting instructions, which still amounts to a series of hacks, albeit a less complex one.

I remember reading somewhere (was it Beat Stamm?) that DirectWrite indeed applies hints on the x-axis, but, in hack-mode, with a granularity of 1/16 of a pixel instead of a full one (fonts can still do whatever they want in native ClearType mode!). Or something. I chose to ignore x-axis changes in the v40 engine because the results are more or less the same.

@pcwalton
Copy link
Contributor

Interesting, thanks!

@pcwalton
Copy link
Contributor

Updated with a link to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants