[Webkit-unassigned] [Bug 100551] turn off text antialiasing by default for Chromium Mac, Linux DRT

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 26 15:03:56 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=100551





--- Comment #9 from Dirk Pranke <dpranke at chromium.org>  2012-10-26 15:05:05 PST ---
(In reply to comment #7)
> Please don't rely on -webkit-font-smoothing for anything. It should have been named -coregraphics-font-smoothing as it is just a hack to expose a CoreGraphics API. The only reason anyone on the web uses it is to turn off glyph outline dilation of lcd smoothed glyphs on Mac (no one cares if it turns off subpixel rendering or not). See http://lists.w3.org/Archives/Public/www-style/2012Oct/0109.html for more explanation. I don't believe Chromium supports it on any platform but Mac, and it shouldn't.
>

The point is that we rely on webkit-font-smoothing today already in the tests. I think we will probably need to continue to do so indefinitely into the future (or replace it by equivalent testRunner mechanisms). Also, per conversation w/ dglazkov earlier today, I was under the impression that it does also do something on Win and Linux?

> Also, if you're trying to reduce the number of baselines per platform, there should be some means to force the vast majority of text which isn't testing text per-se to use a set of font files we control. Apple has, in the recent past, tweaked some outlines and metrics of the Times Roman it installs on Mac, resulting in changes to text for that reason alone.

That seems like a good suggestion, but I'm not sure how much it helps. It would insulate us against the change you cite, but not changes to how we render a given font generally, or against cross-platform 
changes in font rendering.

(Note that we do tend to require a given set of fonts to be installed already to partially address this).

Other suggestions of course include converting more tests to ref tests and doing other things to mask out text differences that we might not care about (like doing chroma-keying to make out text that isn't red or green, for example).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list