diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-09-18 17:56:42 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-09-18 17:56:42 +0000 |
commit | bcf4f5c089878ad822ed4073e7de63b12344b978 (patch) | |
tree | 7947195be8a18a343b2b238bd4d6b758203dc17a /Build/source/texk/ttf2pk2/tests | |
parent | e3167f2329da4174fd1332e069788693de96b72a (diff) |
ttf2pk: Adapt to W32TeX (from Akira)
Start handling the GSUB table
Extend the test to cover vert feature from GSUB table
git-svn-id: svn://tug.org/texlive/trunk@27716 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ttf2pk2/tests')
-rw-r--r-- | Build/source/texk/ttf2pk2/tests/Test.sfd | 7 | ||||
-rw-r--r-- | Build/source/texk/ttf2pk2/tests/ipaexg-h.map | 1 | ||||
-rw-r--r-- | Build/source/texk/ttf2pk2/tests/ipaexg-v.map | 1 | ||||
-rw-r--r-- | Build/source/texk/ttf2pk2/tests/ipaexg.ttf | bin | 0 -> 6022748 bytes | |||
-rw-r--r-- | Build/source/texk/ttf2pk2/tests/ttf2pk.cfg | 2 | ||||
-rwxr-xr-x | Build/source/texk/ttf2pk2/tests/ttf2pk.test | 26 |
6 files changed, 34 insertions, 3 deletions
diff --git a/Build/source/texk/ttf2pk2/tests/Test.sfd b/Build/source/texk/ttf2pk2/tests/Test.sfd new file mode 100644 index 00000000000..fc06d999aac --- /dev/null +++ b/Build/source/texk/ttf2pk2/tests/Test.sfd @@ -0,0 +1,7 @@ +# Test.sfd +# +# GID 36->41 37 38 39 40->38 41 42 43 + +03 0x0041_0x0048 + +# eof diff --git a/Build/source/texk/ttf2pk2/tests/ipaexg-h.map b/Build/source/texk/ttf2pk2/tests/ipaexg-h.map new file mode 100644 index 00000000000..b34a19deaa3 --- /dev/null +++ b/Build/source/texk/ttf2pk2/tests/ipaexg-h.map @@ -0,0 +1 @@ +ipaexg-h@Test@ ipaexg diff --git a/Build/source/texk/ttf2pk2/tests/ipaexg-v.map b/Build/source/texk/ttf2pk2/tests/ipaexg-v.map new file mode 100644 index 00000000000..f94c427ac5b --- /dev/null +++ b/Build/source/texk/ttf2pk2/tests/ipaexg-v.map @@ -0,0 +1 @@ +ipaexg-v@Test@ ipaexg Rotate=Yes diff --git a/Build/source/texk/ttf2pk2/tests/ipaexg.ttf b/Build/source/texk/ttf2pk2/tests/ipaexg.ttf Binary files differnew file mode 100644 index 00000000000..a82b95c1de3 --- /dev/null +++ b/Build/source/texk/ttf2pk2/tests/ipaexg.ttf diff --git a/Build/source/texk/ttf2pk2/tests/ttf2pk.cfg b/Build/source/texk/ttf2pk2/tests/ttf2pk.cfg index 4a61f25f3cc..709b3d0c428 100644 --- a/Build/source/texk/ttf2pk2/tests/ttf2pk.cfg +++ b/Build/source/texk/ttf2pk2/tests/ttf2pk.cfg @@ -1,3 +1,5 @@ map GenR102-ec map +GenR102-h map +GenR102-v +map +ipaexg-h +map +ipaexg-v diff --git a/Build/source/texk/ttf2pk2/tests/ttf2pk.test b/Build/source/texk/ttf2pk2/tests/ttf2pk.test index 3dcfc9227dc..b1e23ad5e46 100755 --- a/Build/source/texk/ttf2pk2/tests/ttf2pk.test +++ b/Build/source/texk/ttf2pk2/tests/ttf2pk.test @@ -1,14 +1,14 @@ #! /bin/sh -# Copyright (C) 2011 Peter Breitenlohner <tex-live@tug.org> +# Copyright (C) 2011, 2012 Peter Breitenlohner <tex-live@tug.org> # You may freely use, modify and/or distribute this file. -rm -f GenR-ec.vpl GenR102-* +rm -f GenR-ec.vpl GenR102-* ipaexg-* TEXMFCNF=$srcdir/../kpathsea TEXFONTS=.:$srcdir/tests TTF2PKINPUTS=$srcdir/tests -SFDFONTS=$srcdir/data +SFDFONTS="$srcdir/data;$srcdir/tests" export TEXMFCNF TEXFONTS TTF2PKINPUTS SFDFONTS @@ -50,3 +50,23 @@ done echo passed GenR102-v test +./ttf2tfm ipaexg -q ipaexg-h@Test@ >ipaexg-h.map || exit 1 +diff $srcdir/tests/ipaexg-h.map ipaexg-h.map || exit 1 + +./ttf2pk -q ipaexg-h03 100 || exit 1 + +tftopl ipaexg-h03 ipaexg-h03 || exit 77 +pktype ipaexg-h03.100pk >ipaexg-h03.typ || exit 77 + +echo passed ipaexg-h test + +./ttf2tfm ipaexg -q -x ipaexg-v@Test@ >ipaexg-v.map || exit 1 +diff $srcdir/tests/ipaexg-v.map ipaexg-v.map || exit 1 + +./ttf2pk -q ipaexg-v03 100 || exit 1 + +tftopl ipaexg-v03 ipaexg-v03 || exit 77 +pktype ipaexg-v03.100pk >ipaexg-v03.typ || exit 77 + +echo passed ipaexg-v test + |