Open
Bug 1306255
Opened 9 years ago
Updated 1 year ago
Make it possible to enable linear blending of fonts on Linux
Categories
(Core :: Graphics: Text, enhancement, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: octoploid, Unassigned)
Details
(Whiteboard: [gfx-noted])
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Build ID: 20160929100416
Steps to reproduce:
It would be great if there was a way to enable linear blending of fonts on Linux.
I've tried to set "SK_GAMMA_EXPONENT" to 1.8 in gfx/skia/moz.build,
but unfortunately it doesn't have any effect.
(In Chromium, setting SK_GAMMA_EXPONENT to 1.8 enables linear font blending.)
See https://www.freetype.org/freetype2/docs/text-rendering-general.html
for further info.
Thanks.
Updated•9 years ago
|
Component: Untriaged → Graphics: Text
Product: Firefox → Core
Updated•9 years ago
|
Comment 1•9 years ago
|
||
Presently we match cairo-ft's handling of gamma, which is rather that it ignores gamma when blending. In the future we might consider doing otherwise, but for now the primary concern is compatibility and interoperability with cairo.
The corresponding bug report for cairo is at https://bugs.freedesktop.org/show_bug.cgi?id=28549. It's sadly been sitting there for years. An experimental patch enables a hacky blending in software rendering (have a look at the demo pages by Lankila), but more work is apparently needed to enable it for accelerated rendering. No idea how much work that is. Support for stem darkening to prevent stems for thinning out when blending correctly is forthcoming in FreeType.
Updated•7 years ago
|
Type: defect → task
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•