summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-25 20:46:03 +0000
committerKarl Berry <karl@freefriends.org>2016-04-25 20:46:03 +0000
commitcfa0d42c795abf70a671d0a381e4fb45a3dba13d (patch)
treecbae7a39b41eb1daaae2950a2c214c31ab35ad47 /Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space
parent5e37eaa6f3ee9d0cecc7e29e73baf8f5380d6ba4 (diff)
pdftex doc for TL16: updates to manual, more tests, samplepdf(tex) at top level, pdfkeys and thanh/ext removed
git-svn-id: svn://tug.org/texlive/trunk@40740 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space')
-rw-r--r--Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/Makefile5
-rw-r--r--Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/dummy-space.pfbbin0 -> 2409 bytes
-rw-r--r--Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/dummy-space.tfmbin0 -> 152 bytes
-rw-r--r--Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/fake-interword-space.tex34
4 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/Makefile b/Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/Makefile
new file mode 100644
index 00000000000..1af4806137c
--- /dev/null
+++ b/Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/Makefile
@@ -0,0 +1,5 @@
+test:
+ ../../source/build-pdftex/texk/web2c/pdftex -ini fake-interword-space.tex
+
+clean:
+ rm -f fake-interword-space.log fake-interword-space.pdf
diff --git a/Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/dummy-space.pfb b/Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/dummy-space.pfb
new file mode 100644
index 00000000000..46390162be3
--- /dev/null
+++ b/Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/dummy-space.pfb
Binary files differ
diff --git a/Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/dummy-space.tfm b/Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/dummy-space.tfm
new file mode 100644
index 00000000000..fc0719e1a57
--- /dev/null
+++ b/Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/dummy-space.tfm
Binary files differ
diff --git a/Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/fake-interword-space.tex b/Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/fake-interword-space.tex
new file mode 100644
index 00000000000..09d7bff39f4
--- /dev/null
+++ b/Master/texmf-dist/doc/pdftex/tests/01-fake-interword-space/fake-interword-space.tex
@@ -0,0 +1,34 @@
+\input plain.tex
+\input pdftexconfig.tex
+\input pdftexmagfix.tex
+
+\pdfmapline{+dummy-space <dummy-space.pfb}
+\pdfglyphtounicode{space}{0020}
+\pdfcompresslevel=0
+\pdfobjcompresslevel=0
+
+Text with no interword spaces.
+
+\pdfinterwordspaceon
+
+Switch to text with faked interword spaces.
+
+\pdfinterwordspaceoff
+
+Back to text with no interword \pdffakespace spaces.
+
+% Test of \pdffakespace in vertical mode
+\pdffakespace
+
+% Test of \pdffakespace in math mode
+$a\pdffakespace b$
+
+Back to text with no interword \pdffakespace\pdffakespace spaces.
+
+% Test of \pdffakespace in vertical mode
+\pdffakespace
+\pdffakespace
+
+% Test of \pdffakespace in math mode
+$a\pdffakespace \pdffakespace b$
+\bye