summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/plain
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/plain')
-rw-r--r--Master/texmf-dist/tex/plain/config/xetex.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/plain/config/xetex.ini b/Master/texmf-dist/tex/plain/config/xetex.ini
index 692649730fa..90b353b1208 100644
--- a/Master/texmf-dist/tex/plain/config/xetex.ini
+++ b/Master/texmf-dist/tex/plain/config/xetex.ini
@@ -47,6 +47,12 @@
\def\newXeTeXintercharclass{%
\xe@alloc@\xe@alloc@intercharclass\XeTeXintercharclass\chardef\@cclv} %at most 254
+% Primitives in pdftex and luatex, we'll just use macros here.
+% Since we are generating a whatsit, not 100% compatible,
+% but hopefully close enough.
+\def\pdfmapfile#1{\special{pdf:mapfile #1}}
+\def\pdfmapline#1{\special{pdf:mapline #1}}
+
\catcode`\@=12
\XeTeXuseglyphmetrics=1