summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/pdftex/tests/06-pkmap
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/pdftex/tests/06-pkmap')
-rw-r--r--Master/texmf-dist/doc/pdftex/tests/06-pkmap/Makefile24
-rw-r--r--Master/texmf-dist/doc/pdftex/tests/06-pkmap/cmr10.360pkbin0 -> 6408 bytes
-rw-r--r--Master/texmf-dist/doc/pdftex/tests/06-pkmap/prepatch.pdfbin3045 -> 2978 bytes
-rw-r--r--Master/texmf-dist/doc/pdftex/tests/06-pkmap/test-pkmap.tex31
4 files changed, 31 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/pdftex/tests/06-pkmap/Makefile b/Master/texmf-dist/doc/pdftex/tests/06-pkmap/Makefile
index 853ec0eb2ba..c0c16604bd5 100644
--- a/Master/texmf-dist/doc/pdftex/tests/06-pkmap/Makefile
+++ b/Master/texmf-dist/doc/pdftex/tests/06-pkmap/Makefile
@@ -1,24 +1,30 @@
-# $Id: Makefile 777 2017-04-20 23:08:32Z karl $
+# $Id: Makefile 790 2018-01-02 00:12:04Z karl $
# Public domain.
include ../Common.mak
default: test-pkmap
-test-pkenc: # cmr10.3600pk - not used
+test-pkmap: cmr10.360pk cmr10.72pk cmb10.72pk
$(prog) test-pkmap.tex
-#
-# should work when and if patch is applied:
-# grep -q /ffi test-pkenc.pdf # should end up with this encoded char
-# grep -a ToUnicode test-pkenc.pdf
+ grep -q /ffi test-pkmap.pdf # should end up with this encoded char
+ grep -a ToUnicode test-pkmap.pdf
#
# dev convenience:
# pdffonts test-big.pdf
# pdftotext test-big.pdf -
-cmr10.3600pk:
- mf-nowin '\mode:=ljfour;mag:=6;input cmr10'
- gftopk cmr10.3600gf
+cmr10.360pk:
+ mf-nowin '\mode:=ljfour; mag:=0.6; input cmr10'
+ gftopk cmr10.360gf
+
+cmr10.72pk:
+ mf-nowin '\mode:=mactrue; input cmr10'
+ gftopk cmr10.72gf
+
+cmb10.72pk:
+ mf-nowin '\mode:=mactrue; input cmb10'
+ gftopk cmb10.72gf
clean:
$(clean)
diff --git a/Master/texmf-dist/doc/pdftex/tests/06-pkmap/cmr10.360pk b/Master/texmf-dist/doc/pdftex/tests/06-pkmap/cmr10.360pk
new file mode 100644
index 00000000000..91f9dcf120f
--- /dev/null
+++ b/Master/texmf-dist/doc/pdftex/tests/06-pkmap/cmr10.360pk
Binary files differ
diff --git a/Master/texmf-dist/doc/pdftex/tests/06-pkmap/prepatch.pdf b/Master/texmf-dist/doc/pdftex/tests/06-pkmap/prepatch.pdf
index 07617bdba2d..d7680bbec02 100644
--- a/Master/texmf-dist/doc/pdftex/tests/06-pkmap/prepatch.pdf
+++ b/Master/texmf-dist/doc/pdftex/tests/06-pkmap/prepatch.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/pdftex/tests/06-pkmap/test-pkmap.tex b/Master/texmf-dist/doc/pdftex/tests/06-pkmap/test-pkmap.tex
index f78d7c095d1..66703f00990 100644
--- a/Master/texmf-dist/doc/pdftex/tests/06-pkmap/test-pkmap.tex
+++ b/Master/texmf-dist/doc/pdftex/tests/06-pkmap/test-pkmap.tex
@@ -1,23 +1,25 @@
-% $Id: test-pkmap.tex 777 2017-04-20 23:08:32Z karl $
+% $Id: test-pkmap.tex 790 2018-01-02 00:12:04Z karl $
% Public domain.
% Test map files with bitmap (i.e., Type 3) fonts.
% A thread starting here:
-% http://tug.org/pipermail/pdftex/2016-July/009064.html
-% and continuing here (and more):
-% http://tug.org/pipermail/pdftex/2016-August/009065.html
-% discusses a patch for supporting an encoding file with Type 3.
-% The patch has not yet been installed.
+% https://tug.org/pipermail/pdftex/2016-July/009064.html
+% and continuing on:
+% https://tug.org/pipermail/pdftex/2016-August/009065.html
+% https://mailman.ntg.nl/pipermail/ntg-pdftex/2017-August/004183.html
+% https://mailman.ntg.nl/pipermail/ntg-pdftex/2017-December/004189.html
+% discusses a patch for supporting an encoding file with Type 3 fnts.
%
% For comparison, the PDF made before the patch was applied is saved
% here as prepatch.pdf.
%
-% The default PK resolution is 72, so we made cmb10.72pk in this directory.
-% (mf-nowin '\mode:=mactrue; input cmb10' && gftopk cmb10.72gf)
-% (mf-nowin '\mode:=mactrue; input cmr10' && gftopk cmr10.72gf)
-%
+% The default PK resolution is 72, so we made cmb10.72pk et al. in this
+% directory; see the Makefile.
+
+% basic typesetting:
\pdfoutput=1 \catcode`\{=1 \catcode`\}=2
\hsize=6pc \parfillskip=0pt plus1fil \vsize=6in \lineskip=1pc
+\pdftrailerid{}
\pdfcompresslevel=0 \pdfobjcompresslevel=0
\pdfglyphtounicode{ffi}{0066 0066 0069} %no need for all: \input glyphtounicode
@@ -26,12 +28,11 @@
\pdfmapline{cmr10}% type3 map without encoding - no ToUnicode, no /ffi.
\font\cmr=cmr10 \noindent \cmr ffi
-% if we install the patch.
-%\pdfmapline{cmb10 <7t.enc}% type3 map with encoding
-%\font\cmb=cmb10 \noindent \cmb ffi
+\pdfmapline{cmb10 <7t.enc}% type3 map with encoding
+\font\cmb=cmb10 \noindent \cmb ffi
-% geometrically-scaled tfm: the Type 3 should be scaled (resulting in
-% blocky blown-up bits), instead of using a separately-generated
+% scaled tfm of previously defined tfm: the Type 3 should not be
+% geometrically scaled, but instead should use a separately-generated
% cmr10.360pk (50*72/10).
\font\big = cmr10 at 50pt \big big
\end