[webkit-dev] Cross-platform fonts for Layout Tests
tony at chromium.org
Thu Jun 2 11:30:18 PDT 2011
Perhaps, but in practice, it's not enough. Here's an ahem pixel test that
is slightly different on Mac and Chromium Linux:
Also, I think it would be hard to tell by examining the HTML if a test uses
another font. For example, the line height of an empty block might depend
on the default font that isn't specified (does <pre></pre> render the same
height on all platforms?).
On Thu, Jun 2, 2011 at 10:44 AM, Adam Barth <abarth at webkit.org> wrote:
> I thought the whole point of Ahem was to avoid those problems.
> On Thu, Jun 2, 2011 at 1:29 AM, Hao Zheng <zhenghao at chromium.org> wrote:
> > Actually, even the same Ahem font will be rendered differently on
> > different platform, depending on the font drawing library, the
> > anti-aliasing algorithm, subpixel, tiny float-point calculation diff
> > on different arch.
> > On Thu, Jun 2, 2011 at 3:30 AM, Eric Seidel <eric at webkit.org> wrote:
> >> I know that Ahem is safe to use across multiple platforms (the font
> >> will be the same). Do we know if there are any other fonts for which
> >> is true?
> >> I'd like to make the style-bot yell at people when they use pixel tests
> >> non-safe fonts. Right now that list would only include ahem.
> >> -eric
> >> _______________________________________________
> >> webkit-dev mailing list
> >> webkit-dev at lists.webkit.org
> >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev at lists.webkit.org
> > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev