-
Notifications
You must be signed in to change notification settings - Fork 442
Mozilla Firefox
Samantha Glocker edited this page Oct 2, 2019
·
3 revisions
Note: MacType will work with Firefox in DirectWrite mode without doing the below. However DirectWrite font rendering isn't as configurable as MacType GDI, which replaces GDI with the FreeType rendering engine from Linux. To do this, read on...
To use MacType in GDI mode from Firefox version 69.x.x and onwards (courtesy of @sur0g), do:
- Navigate to about:config
- Search for cleartype
- Change gfx.font_rendering.cleartype_params.rendering_mode to 5
To use MacType in GDI mode for Firefox versions 68.x.x and earlier (not recommended), do:
- In Firefox navigate to about:config
- Search for azure
- Change both graphics.canvas.azure.backends and graphics.content.azure.backends to direct2d1.1,cairo,skia
- Search for gfx.direct2d.disabled
- Double-click to change it to
true
- Close and restart Firefox for the changes to take effect. Fonts should now be rendered with MacType
- Name
- HookChildProcesses
- HintingMode
- BoldWeight
- DirectWrite
- HintSmallFont
- MaxBitmap
- NormalWeight
- ItalicSlant
- GammaMode
- GammaValue
- Contrast
- RenderWeight
- BolderMode
- FontLoader
- FontLink
- FontSubstitutes
- MaxHeight
- LcdFilter
- AntiAliasMode
- UseMapping
- TextTuning
- TextTuningR
- TextTuningG
- TextTuningB
- LoadOnDemand
- CacheMaxFaces
- CacheMaxSizes
- CacheMaxBytes
- EnableKerning
- Shadow
- UseInclude