pdftex[895] branches/stable/doc/manual/pdftex-t.tex: update manual
commits+thanh at tug.org
commits+thanh at tug.org
Sat Feb 11 17:32:45 CET 2023
Revision: 895
http://tug.org/svn/pdftex?view=revision&revision=895
Author: thanh
Date: 2023-02-11 17:32:45 +0100 (Sat, 11 Feb 2023)
Log Message:
-----------
update manual for \pdfinterwordspaceon, \pdfinterwordspaceoff, \pdfspacefont (cont.)
Modified Paths:
--------------
branches/stable/doc/manual/pdftex-t.tex
Modified: branches/stable/doc/manual/pdftex-t.tex
===================================================================
--- branches/stable/doc/manual/pdftex-t.tex 2023-02-11 16:24:16 UTC (rev 894)
+++ branches/stable/doc/manual/pdftex-t.tex 2023-02-11 16:32:45 UTC (rev 895)
@@ -2649,10 +2649,10 @@
caused for example by the interword glue. If yes, pdftex will insert a space
char to the page description and make adjustment to the next movement, so that
the next char/word would be rendered in the expected position. If the current
-font has a real space char (determined from the corresponding enc file), it
-will be used. If space char is not available in the current font, pdftex will
-use the space char from a special font named pdftexspace. pdftex automatically
-creates a map entry for this font which looks as follows:
+font has a real space char, it will be used. If space char is not available in
+the current font, pdftex will use the space char from a special font named
+pdftexspace. pdftex automatically creates a map entry for this font which looks
+as follows:
\starttyping
\pdfmapline{=pdftexspace PdfTeX-Space <pdftexspace.pfb}
@@ -2669,6 +2669,10 @@
% current font has no space char
\stoptyping
+pdftex checks if a font has a real space char as follows: if the font
+has an enc file in corresponding map entry, and the enc file
+has a glyph named space at slot 32, then it's considered as a font with
+real space char.
Example of usage (see also the \type{fake-interword-space.tex} test file):
@@ -2675,7 +2679,6 @@
\starttyping
Text with no interword spaces.
-\pdfmapline{+dummy-space <dummy-space.pfb}
\pdfglyphtounicode{space}{0020}
\pdfinterwordspaceon
More information about the pdftex-commits
mailing list.