gecko/layout/reftests/fonts
Jonathan Kew b2508cbfdd Bug 507970, reftests for loading new WOFF font format and rejecting invalid fonts, r=jdaggett
--HG--
extra : rebase_source : 8645f63a6db39a0c04e9d59bd4fc486bd61d4d99
2009-09-17 12:17:08 +01:00
..
DeLarge Bug 507970, reftests for loading new WOFF font format and rejecting invalid fonts, r=jdaggett 2009-09-17 12:17:08 +01:00
mplus Bug 338209 Make spellchecker use thicker wavy underlines instead of dotted underlines r+sr=roc 2009-04-03 16:26:28 +09:00
sil fix format hint in testing fonts stylesheet 2009-02-18 15:30:18 +09:00
Ahem.ttf
Chunkfive-license.txt Adding more reftest fonts (no effect on build) 2009-08-07 14:20:26 +09:00
Chunkfive.otf Adding more reftest fonts (no effect on build) 2009-08-07 14:20:26 +09:00
Chunkfive.ttf Merge 2009-08-07 08:57:53 -07:00
Makefile.in Bug 338209 Make spellchecker use thicker wavy underlines instead of dotted underlines r+sr=roc 2009-04-03 16:26:28 +09:00
mark2-glyph.svg
mark2A.otf otf versions of reftest mark fonts 2008-12-16 14:47:31 +09:00
mark2A.ttf
mark2B.otf otf versions of reftest mark fonts 2008-12-16 14:47:31 +09:00
mark2B.ttf
mark2C.otf otf versions of reftest mark fonts 2008-12-16 14:47:31 +09:00
mark2C.ttf
mark2D.otf otf versions of reftest mark fonts 2008-12-16 14:47:31 +09:00
mark2D.ttf
mark-generate.py Stop using MarkXMark2Y in reftest references, since its underline offsets don't correctly match combinations, and go back to using combinations. (Bug 468217) r=jdaggett 2009-02-06 08:52:13 -08:00
mark-glyph.svg
markA-badfullname.ttf adding more reftest fonts (no effect on builds) 2009-07-13 09:33:14 -10:00
markA-copyright.ttf adding reftest fonts (no effect on build) 2009-08-17 13:10:11 +09:00
markA-copyrightps.ttf adding reftest fonts (no effect on build) 2009-08-17 13:10:11 +09:00
markA-nofamily.ttf adding reftest fonts (no effect on build) 2009-08-17 13:10:11 +09:00
markA-nofullname.ttf adding reftest fonts (no effect on build) 2009-08-17 13:10:11 +09:00
markA-nopostscript.ttf adding reftest fonts (no effect on build) 2009-08-17 13:10:11 +09:00
markA-nostyle.ttf adding reftest fonts (no effect on build) 2009-08-17 13:10:11 +09:00
markA-noversion.ttf adding reftest fonts (no effect on build) 2009-08-17 13:10:11 +09:00
markA-shortfullname.ttf adding more reftest fonts (no effect on builds) 2009-07-13 09:33:14 -10:00
markA.eot Add copy of .ttf font with .eot extension for testing 2008-12-22 17:03:32 +09:00
markA.otf otf versions of reftest mark fonts 2008-12-16 14:47:31 +09:00
markA.ttf
markB.eot add valid EOT font and note describing reftest font directory contents 2008-12-24 12:57:25 +09:00
markB.otf otf versions of reftest mark fonts 2008-12-16 14:47:31 +09:00
markB.ttf
markC.otf otf versions of reftest mark fonts 2008-12-16 14:47:31 +09:00
markC.ttf
markD.otf otf versions of reftest mark fonts 2008-12-16 14:47:31 +09:00
markD.ttf
PositioningTest1.ttf Bug 475092. Fix horizontal offsets for vertically-offset glyphs on Windows. r=vlad,r+sr=roc 2009-02-10 21:34:51 +13:00
PositioningTest2.ttf Bug 475092. Fix horizontal offsets for vertically-offset glyphs on Windows. r=vlad,r+sr=roc 2009-02-10 21:34:51 +13:00
README Bug 475092. Fix horizontal offsets for vertically-offset glyphs on Windows. r=vlad,r+sr=roc 2009-02-10 21:34:51 +13:00
VeraBd-validchecksum.ttf Bug 483459. Add reftest fonts 2009-05-20 23:11:44 +09:00
VeraBd.ttf Bug 483459. Add reftest fonts 2009-05-20 23:11:44 +09:00

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.