Open Bug 1403299 Opened 3 years ago Updated 10 months ago
Support rendering fonts via Free
Type on Windows
I suspect the most straightforward approach to supporting Variation Fonts on Windows will be to include FreeType in the build, and rasterize such fonts via FT instead of DirectWrite. This will allow us to support variations across all versions of Windows. We probably want to continue using DW for standard (non-variation) fonts, for the best consistency with font rasterization in other applications on the platform, so this will mean having two font back-ends and choosing between them on a per-font basis.
Fall Creator Update has new APIs (IDWriteFactor6 etc) for axes.
Yes, support is beginning to appear in DirectWrite, so we could consider using this; but that would mean that the feature only works on the latest update of Windows, whereas I assume we'll still support Firefox on Win7 for a number of years yet.
3 years ago
Just adding a note that the Fall Creator update has shipped with support for variable fonts in DirectWrite. Wondering then if the FT option could be 'scoped' only for use in older versions of Windows?
You need to log in before you can comment on or make changes to this bug.