summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/pdftex/tests/11-omitcharset
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/pdftex/tests/11-omitcharset')
-rw-r--r--Master/texmf-dist/doc/pdftex/tests/11-omitcharset/Makefile18
-rw-r--r--Master/texmf-dist/doc/pdftex/tests/11-omitcharset/test-omitcharset.tex10
2 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/pdftex/tests/11-omitcharset/Makefile b/Master/texmf-dist/doc/pdftex/tests/11-omitcharset/Makefile
new file mode 100644
index 00000000000..a8add649020
--- /dev/null
+++ b/Master/texmf-dist/doc/pdftex/tests/11-omitcharset/Makefile
@@ -0,0 +1,18 @@
+# $Id: Makefile 813 2019-01-28 00:04:18Z karl $
+# Public domain.
+
+include ../Common.mak
+
+default: test-omitcharset
+
+test-omitcharset:
+ # by default, CharSet is included.
+ $(prog) test-omitcharset.tex
+ grep "/CharSet" test-omitcharset.pdf >/dev/null
+ #
+ # force CharSet to be omitted.
+ $(prog) '\pdfomitcharset=1 \input test-omitcharset.tex'
+ ! grep "/CharSet" test-omitcharset.pdf >/dev/null
+
+clean:
+ $(clean)
diff --git a/Master/texmf-dist/doc/pdftex/tests/11-omitcharset/test-omitcharset.tex b/Master/texmf-dist/doc/pdftex/tests/11-omitcharset/test-omitcharset.tex
new file mode 100644
index 00000000000..b1b0a58fd03
--- /dev/null
+++ b/Master/texmf-dist/doc/pdftex/tests/11-omitcharset/test-omitcharset.tex
@@ -0,0 +1,10 @@
+% $Id: test-omitcharset.tex 813 2019-01-28 00:04:18Z karl $
+% Public domain.
+\input plain.tex
+\input pdftexconfig.tex
+\input pdftexmagfix.tex
+\pdfcompresslevel=0 % get greppable output
+\pdfobjcompresslevel=0
+
+abc
+\bye