Skip to content

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

Closed
@madig

Description

@madig

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions