diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2011-08-12 10:11:22 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2011-08-12 10:11:22 +0000 |
commit | 839b35610887e2f013dd13fb9d78e71417e8eae7 (patch) | |
tree | 33d9b3f2caf3fb56bafbd6e2f7b2d5ca83ee2762 | |
parent | 306f4120310f3ada7226c5be2794198c07ba1bfa (diff) |
fix to allow font definition like \font\x="[msmincho.ttc:1]"
git-svn-id: svn://tug.org/texlive/trunk@23509 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/web2c/xetexdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/xetexdir/XeTeX_ext.c | 1 |
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'; |