Enable ClearType only on Firefox
Categories
(Core :: Layout: Text and Fonts, enhancement)
Tracking
()
People
(Reporter: Gabri, Assigned: Gabri)
Details
Attachments
(1 file)
Comment 1•17 years ago
|
||
| Assignee | ||
Comment 2•17 years ago
|
||
Comment 3•17 years ago
|
||
Comment 4•17 years ago
|
||
Updated•4 years ago
|
| Assignee | ||
Comment 5•4 months ago
|
||
Closing as WONTFIX.
When this enhancement was filed in 2009 the relevant target was
Windows XP, where ClearType shipped OFF by default and users wanted
a per-application toggle to enable it in Firefox without changing
the system setting. That target platform is no longer supported by
Firefox, and on every currently supported Windows release (7
through 11) ClearType is ON by default at the OS level.
The technical landscape has also moved on:
-
Firefox now renders text via DirectWrite (
gfxDWriteFonts.cpp),
which uses the system's font smoothing setting
(SPI_GETFONTSMOOTHINGTYPE) — by design, to respect OS-level
accessibility and readability preferences. -
The full set of ClearType tuning parameters is already exposed to
power users viaabout:config:
gfx.font_rendering.cleartype_params.{gamma, enhanced_contrast, cleartype_level, pixel_structure, rendering_mode, force_gdi_classic_for_families, force_gdi_classic_max_size}
(seemodules/libpref/init/all.js). This covers the per-Firefox
tuning use case for users who already have ClearType enabled.
The remaining gap — forcing ClearType on when the OS has it off —
is intentionally not provided: overriding the OS font smoothing
setting from a single application would conflict with the user's
accessibility configuration and the OS-wide rendering convention.
Description
•