Re: Mozilla small-caps test

fantasai wrote:

> John Daggett can correct me if I'm wrong, but I believe the
> small-caps test submitted by Mozilla
>    http://test.csswg.org/source/contributors/mozilla/incoming/reftests/text-transform/
>    http://mxr.mozilla.org/mozilla-central/source/layout/reftests/text-transform/
> is invalid. It assumes that a small-caps lower-case "a" has
> the same rendering as a capital "A" at 80% of the font size.
> 
> This assertion is both unsupported by the specification (nowhere
> does it require 80% scaling) and, if I understand correctly,
> a completely wrong test for fonts that have true small caps.

Yeah, requiring 80% is not valid.

One thing to note is that it's important to select a lowercase letter
whose uppercase form is different (e.g. 'a', 'e', etc.). Some of the
MS tests use 'x' which is a poor choice.

John

Received on Friday, 2 July 2010 01:01:41 UTC