summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/xetexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/xetexdir/XeTeX_ext.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog
index 36852f4ad82..bd774ef87a2 100644
--- a/Build/source/texk/web2c/xetexdir/ChangeLog
+++ b/Build/source/texk/web2c/xetexdir/ChangeLog
@@ -1,3 +1,8 @@
+2011-08-12 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * XeTeX_ext.c: fix to allow font definition like
+ \font\x="[msmincho.ttc:1]"
+
2011-07-08 Peter Breitenlohner <peb@mppmu.mpg.de>
* xetex.ch: Fix an off-by-one bug initializing mubyte_cswrite.
diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
index 3362adb0cd1..7631b2ded9f 100644
--- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
+++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
@@ -1219,6 +1219,7 @@ splitFontName(char* name, char** var, char** feat, char** end, int* index)
&& !((name - start == 1) && isalpha(*start))
#endif
) {
+ *var = name;
++name;
while (*name >= '0' && *name <= '9')
*index = *index * 10 + *name++ - '0';