gecko/layout/reftests/fonts
Karl Tomlinson c027046942 test for bug 634556 a=test
--HG--
extra : transplant_source : %F919%0D%5C%FC%06%87%21.%7C9%A2%A5%14%CCe%EC%9A%C0
2011-02-28 08:32:08 +13:00
..
DeLarge
mplus
sil
Ahem.ttf
Chunkfive-license.txt
Chunkfive.otf
Chunkfive.ttf
DejaVuSansMono.otf
DejaVuSansMono.woff
gw432047-license.txt
gw432047.ttf
LinLibertine_Re-4.7.5.woff
Makefile.in
mark2-glyph.svg
mark2A-highunderline.ttf
mark2A-lowunderline.ttf
mark2A.otf
mark2A.ttf
mark2B.otf
mark2B.ttf
mark2C.otf
mark2C.ttf
mark2D.otf
mark2D.ttf
mark-generate.py
mark-glyph.svg
markA-badfullname.ttf
markA-copyright.ttf
markA-copyrightps.ttf
markA-highunderline.ttf
markA-lowunderline.ttf
markA-nofamily.ttf
markA-nofullname.ttf
markA-nopostscript.ttf
markA-nostyle.ttf
markA-noversion.ttf
markA-shortfullname.ttf
markA.eot
markA.otf
markA.ttf
markAB-spaceliga.otf
markB.eot
markB.otf
markB.ttf
markC.otf
markC.ttf
markD.otf
markD.ttf
PositioningTest1.ttf
PositioningTest2.ttf
Prototype.ttf
README
VeraBd-validchecksum.ttf
VeraBd.ttf

Notes about fonts in this directory

Ahem.ttf - ACID3 test font

markXXX.ttf and markXXX.otf

These fonts are autogenerated with FontForge using the Python script mark-generate.py.  
See the comments in that file for more information on how to run the script.

The markX.ttf and markX.otf fonts contain a single glyph for the X character consisting
of three stacked boxes.  The mark2X.ttf and mark2X.otf files also contain just a glyph for the
character X but the glyph is similar to the space mark character.  The markXmark2Y.ttf has
two glyphs, the first glyph for X and the second glyph for Y.

The markA.eot and markB.eot files are for EOT-related testing.  The markA.eot file is just 
a copy of markA.ttf while markB.eot is a valid EOT file embedding the contents of markB.ttf
with a null root string (so it can be used in IE without domain-specific restrictions).


PositioningTest1.ttf, PositioningTest2.ttf

These fonts were generated with FontForge and then OpenType tables added with MS VOLT.
The glyphs are from Charis SIL (see http://scripts.sil.org/CharisSILFont), released under the
Open Font License.

In both fonts, the lowercase 'o' glyph should appear raised when rendered. Font 1 uses a GPOS
positioning rule to achieve this, so it tests whether vertical deltas are being handled
correctly. Font 2 uses a GSUB substitution to replace the 'o' with a glyph that has already
been offset within the em-square, so no vertical delta is involved.

Finally, the capital 'O' character maps directly to the shifted 'o' glyph, so this can be
used for comparison without requiring any OpenType layout support.