Files
Lee Salzman a8675054ed Bug 1985250 - Use gamma 1.4 preblend for fonts on Android. r=aosmond
Skia and Chome assume gamma 1.4 for fonts on Android when preblending.
By contrast, Firefox currently does a linear blend on Android.

The gamma 1.4 preblend causes a faster falloff in anti-aliasing than
the linear blend, which can contribute to fonts looking sharper at
smaller sizes.

To ensure that the readability of small fonts on Android is closer
to what users are experiencing in Chrome, let's enable this gamma 1.4
preblend for Android.

Most text in Firefox is rendered through the WebRender font rasterizer
rather than Skia, so we need to add some small amount of support for
preblending in the *nix font backend on Android to support this case.

Differential Revision: https://phabricator.services.mozilla.com/D262979
2025-08-29 00:43:52 +00:00

5 lines
157 B
INI

[transform-input-006.html]
fuzzy:
if os == "win": maxDifference=0-137;totalPixels=0-1231
if os == "android": maxDifference=0-155;totalPixels=0-400