diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /layout/reftests/fonts/graphite/README.txt | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/fonts/graphite/README.txt')
-rw-r--r-- | layout/reftests/fonts/graphite/README.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/layout/reftests/fonts/graphite/README.txt b/layout/reftests/fonts/graphite/README.txt new file mode 100644 index 0000000000..dc684d1c4b --- /dev/null +++ b/layout/reftests/fonts/graphite/README.txt @@ -0,0 +1,37 @@ + +Test fonts with Graphite tables for testing + +Original font: League Gothic by League of Moveable Type, converted to TT via FontSquirrel + +Kerning, GDEF/GSUB/GPOS info stripped out and the name table edited to +produce grtest-template.ttx. + +Making a test font: + +1. Build ttx from template + sed -e 's/xxxfontnamexxx/grtestxxx/' grtest-template.ttx >grtestxxx-src.ttx + +2. Make the font + ttx grtestxxx-src.ttx + +3. Edit GDL file + +4. Compile the GDL into the ttf + +../graphite-compiler.sh -d -v3 -w3521 -w510 font.gdl grtestxxx-src.ttf grtestxxx.ttf + +Where graphite-compiler.sh is a script to run the graphite compiler in wine on OSX +(the compiler is available both as a Windows exe and as source). + +Graphite compiler download: +http://scripts.sil.org/cms/scripts/page.php?item_id=GraphiteCompilerDownload + +grtest-simple.ttf +Simple FAIL ==> PaSs substitution via graphite or via OT with TST1=1 + +grtest-multipass.ttf +Several passes where the end result is FAIL ==> PaSs or via OT with TST1=1 + +grtest-langfeat.ttf +FAIL ==> PaSs substitution enabled via language or feature settings or via OT with TST1=1 + |