summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2008-08-07 16:26:19 +0000
committerJonathan Kew <jfkthame@googlemail.com>2008-08-07 16:26:19 +0000
commit1b2d1ab04edc05270d8dcc70e251f8310bc13773 (patch)
tree1d968443e10a510faa80f3283b0d288e65b2fec3 /Build/source
parenteb65ba0fc58cfc6d21d56bb9dd652ac4400eb61a (diff)
ensure font_mapping is nil before measuring space width
git-svn-id: svn://tug.org/texlive/trunk@10143 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/web2c/xetexdir/xetex.ch1
1 files changed, 1 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/xetexdir/xetex.ch b/Build/source/texk/web2c/xetexdir/xetex.ch
index d4b417e40e2..eff11a73dc7 100644
--- a/Build/source/texk/web2c/xetexdir/xetex.ch
+++ b/Build/source/texk/web2c/xetexdir/xetex.ch
@@ -8847,6 +8847,7 @@ begin
font_letter_space[font_ptr] := loaded_font_letter_space;
{measure the width of the space character and set up font parameters}
+ font_mapping[font_ptr] := nil;
p := new_native_character(font_ptr, " ");
s := width(p) + loaded_font_letter_space;
free_node(p, native_size(p));