summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttf2pk/tests
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/ttf2pk/tests')
-rw-r--r--Build/source/texk/ttf2pk/tests/GenR102.ttfbin0 -> 362664 bytes
-rw-r--r--Build/source/texk/ttf2pk/tests/gentium-ec.enc258
-rw-r--r--Build/source/texk/ttf2pk/tests/ttf2pk.cfg1
-rwxr-xr-xBuild/source/texk/ttf2pk/tests/ttf2pk.test20
-rw-r--r--Build/source/texk/ttf2pk/tests/ttfonts.map1
5 files changed, 280 insertions, 0 deletions
diff --git a/Build/source/texk/ttf2pk/tests/GenR102.ttf b/Build/source/texk/ttf2pk/tests/GenR102.ttf
new file mode 100644
index 00000000000..a8c17567437
--- /dev/null
+++ b/Build/source/texk/ttf2pk/tests/GenR102.ttf
Binary files differ
diff --git a/Build/source/texk/ttf2pk/tests/gentium-ec.enc b/Build/source/texk/ttf2pk/tests/gentium-ec.enc
new file mode 100644
index 00000000000..4ec67e3b374
--- /dev/null
+++ b/Build/source/texk/ttf2pk/tests/gentium-ec.enc
@@ -0,0 +1,258 @@
+/gentium-ecEncoding[
+/grave
+/acute
+/circumflex
+/tilde
+/dieresis
+/hungarumlaut
+/ring
+/caron
+/breve
+/macron
+/dotaccent
+/cedilla
+/ogonek
+/quotesinglbase
+/guilsinglleft
+/guilsinglright
+/quotedblleft
+/quotedblright
+/quotedblbase
+/guillemotleft
+/guillemotright
+/endash
+/emdash
+/uni200B
+/.notdef % perthousandzero
+/dotlessi
+/j.dotless
+/ff
+/fi
+/fl
+/ffi
+/ffl
+/.notdef % visiblespace
+/exclam
+/quotedbl
+/numbersign
+/dollar
+/percent
+/ampersand
+/quoteright
+/parenleft
+/parenright
+/asterisk
+/plus
+/comma
+/hyphen
+/period
+/slash
+/zero
+/one
+/two
+/three
+/four
+/five
+/six
+/seven
+/eight
+/nine
+/colon
+/semicolon
+/less
+/equal
+/greater
+/question
+/at
+/A
+/B
+/C
+/D
+/E
+/F
+/G
+/H
+/I
+/J
+/K
+/L
+/M
+/N
+/O
+/P
+/Q
+/R
+/S
+/T
+/U
+/V
+/W
+/X
+/Y
+/Z
+/bracketleft
+/backslash
+/bracketright
+/asciicircum
+/underscore
+/quoteleft
+/a
+/b
+/c
+/d
+/e
+/f
+/g
+/h
+/i
+/j
+/k
+/l
+/m
+/n
+/o
+/p
+/q
+/r
+/s
+/t
+/u
+/v
+/w
+/x
+/y
+/z
+/braceleft
+/bar
+/braceright
+/asciitilde
+/.notdef % /hyphen % hyphen.alt % peb: removed duplicate
+/Abreve
+/Aogonek
+/Cacute
+/Ccaron
+/Dcaron
+/Ecaron
+/Eogonek
+/Gbreve
+/Lacute
+/Lcaron
+/Lslash
+/Nacute
+/Ncaron
+/Eng
+/Ohungarumlaut
+/Racute
+/Rcaron
+/Sacute
+/Scaron
+/Scedilla
+/Tcaron
+/uni021A % Tcommaaccent (Tcedilla)
+/Uhungarumlaut
+/Uring
+/Ydieresis
+/Zacute
+/Zcaron
+/Zdotaccent
+/IJ
+/.notdef % /uni0130 % /Idotaccent % peb: removed, not in font
+/.notdef % /uni0111 % /dmacron % /dcroat % peb: removed, not in font
+/section
+/abreve
+/aogonek
+/cacute
+/ccaron
+/dcaron
+/ecaron
+/eogonek
+/gbreve
+/lacute
+/lcaron
+/lslash
+/nacute
+/ncaron
+/eng
+/ohungarumlaut
+/racute
+/rcaron
+/sacute
+/scaron
+/scedilla
+/tcaron
+/uni021B % tcommaaccent (tcedilla)
+/uhungarumlaut
+/uring
+/ydieresis
+/zacute
+/zcaron
+/zdotaccent
+/ij
+/exclamdown
+/questiondown
+/sterling
+/Agrave
+/Aacute
+/Acircumflex
+/Atilde
+/Adieresis
+/Aring
+/AE
+/Ccedilla
+/Egrave
+/Eacute
+/Ecircumflex
+/Edieresis
+/Igrave
+/Iacute
+/Icircumflex
+/Idieresis
+/Eth
+/Ntilde
+/Ograve
+/Oacute
+/Ocircumflex
+/Otilde
+/Odieresis
+/OE
+/Oslash
+/Ugrave
+/Uacute
+/Ucircumflex
+/Udieresis
+/Yacute
+/Thorn
+/.notdef % Germandbls
+/agrave
+/aacute
+/acircumflex
+/atilde
+/adieresis
+/aring
+/ae
+/ccedilla
+/egrave
+/eacute
+/ecircumflex
+/edieresis
+/igrave
+/iacute
+/icircumflex
+/idieresis
+/eth
+/ntilde
+/ograve
+/oacute
+/ocircumflex
+/otilde
+/odieresis
+/oe
+/oslash
+/ugrave
+/uacute
+/ucircumflex
+/udieresis
+/yacute
+/thorn
+/germandbls
+] def
diff --git a/Build/source/texk/ttf2pk/tests/ttf2pk.cfg b/Build/source/texk/ttf2pk/tests/ttf2pk.cfg
new file mode 100644
index 00000000000..6df52febed4
--- /dev/null
+++ b/Build/source/texk/ttf2pk/tests/ttf2pk.cfg
@@ -0,0 +1 @@
+map ttfonts
diff --git a/Build/source/texk/ttf2pk/tests/ttf2pk.test b/Build/source/texk/ttf2pk/tests/ttf2pk.test
new file mode 100755
index 00000000000..46eb7139e3f
--- /dev/null
+++ b/Build/source/texk/ttf2pk/tests/ttf2pk.test
@@ -0,0 +1,20 @@
+#! /bin/sh
+
+# Copyright (C) 2011 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
+rm -f GenR-ec.vpl GenR102-ec.*
+
+TEXMFCNF=$srcdir/../kpathsea \
+ TEXFONTS=$srcdir/tests \
+ ./ttf2tfm GenR102 -u -q -N -T gentium-ec -v GenR-ec GenR102-ec >GenR102-ec.map || exit 1
+diff $srcdir/tests/ttfonts.map GenR102-ec.map || exit 1
+
+TEXMFCNF=$srcdir/../kpathsea \
+ TEXFONTS=.:$srcdir/tests \
+ TTF2PKINPUTS=$srcdir/tests \
+ ./ttf2pk -q GenR102-ec 100 || exit 1
+
+tftopl GenR102-ec GenR102-ec || exit 77
+pktype GenR102-ec.100pk >GenR102-ec.typ || exit 77
+
diff --git a/Build/source/texk/ttf2pk/tests/ttfonts.map b/Build/source/texk/ttf2pk/tests/ttfonts.map
new file mode 100644
index 00000000000..84d7aed7631
--- /dev/null
+++ b/Build/source/texk/ttf2pk/tests/ttfonts.map
@@ -0,0 +1 @@
+GenR102-ec GenR102 Encoding=gentium-ec.enc PS=Only