layout/reftests/fonts/README

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1
michael@0 2 Notes about fonts in this directory
michael@0 3
michael@0 4 Ahem.ttf - ACID3 test font
michael@0 5
michael@0 6 markXXX.ttf and markXXX.otf
michael@0 7
michael@0 8 These fonts are autogenerated with FontForge using the Python script mark-generate.py.
michael@0 9 See the comments in that file for more information on how to run the script.
michael@0 10
michael@0 11 The markX.ttf and markX.otf fonts contain a single glyph for the X character consisting
michael@0 12 of three stacked boxes. The mark2X.ttf and mark2X.otf files also contain just a glyph for the
michael@0 13 character X but the glyph is similar to the space mark character. The markXmark2Y.ttf has
michael@0 14 two glyphs, the first glyph for X and the second glyph for Y.
michael@0 15
michael@0 16 The markA.eot and markB.eot files are for EOT-related testing. The markA.eot file is just
michael@0 17 a copy of markA.ttf while markB.eot is a valid EOT file embedding the contents of markB.ttf
michael@0 18 with a null root string (so it can be used in IE without domain-specific restrictions).
michael@0 19
michael@0 20
michael@0 21 PositioningTest1.ttf, PositioningTest2.ttf
michael@0 22
michael@0 23 These fonts were generated with FontForge and then OpenType tables added with MS VOLT.
michael@0 24 The glyphs are from Charis SIL (see http://scripts.sil.org/CharisSILFont), released under the
michael@0 25 Open Font License.
michael@0 26
michael@0 27 In both fonts, the lowercase 'o' glyph should appear raised when rendered. Font 1 uses a GPOS
michael@0 28 positioning rule to achieve this, so it tests whether vertical deltas are being handled
michael@0 29 correctly. Font 2 uses a GSUB substitution to replace the 'o' with a glyph that has already
michael@0 30 been offset within the em-square, so no vertical delta is involved.
michael@0 31
michael@0 32 Finally, the capital 'O' character maps directly to the shifted 'o' glyph, so this can be
michael@0 33 used for comparison without requiring any OpenType layout support.

mercurial