diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-05-06 08:36:50 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-05-06 08:36:50 +0000 |
commit | 8d0b4468c07b64f83f7ccc240ec9ee2fd6766fc0 (patch) | |
tree | 5fb3e453dd3db6c405ff3c2bbd36ed53c366366e /Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES | |
parent | e32c88ce7825f06c60d6979514ed58eb9d52ad1f (diff) |
kpathsea: win32lib.[ch]: Copyright 2012
git-svn-id: svn://tug.org/texlive/trunk@26227 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES')
-rw-r--r-- | Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/patch-04-pdftex_map | 37 |
2 files changed, 42 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/ChangeLog b/Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/ChangeLog index c6cab2ea57b..dc18e126a3e 100644 --- a/Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/ChangeLog +++ b/Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/ChangeLog @@ -1,3 +1,8 @@ +2012-05-06 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * patch-04-pdftex_map (new): Fix a typo in fontmap.c. + * fontmap.c: Allow pdftex.map without PS name. + 2012-04-27 Peter Breitenlohner <peb@mppmu.mpg.de> * patch-03-trivial (new): Reduce differences between dvipdfmx diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/patch-04-pdftex_map b/Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/patch-04-pdftex_map new file mode 100644 index 00000000000..67249eec78e --- /dev/null +++ b/Build/source/texk/dvipdfmx/dvipdfmx-20120420-PATCHES/patch-04-pdftex_map @@ -0,0 +1,37 @@ +diff -ur dvipdfmx-20120420.orig/src/fontmap.c dvipdfmx-20120420/src/fontmap.c +--- dvipdfmx-20120420.orig/src/fontmap.c 2011-03-07 18:11:26.000000000 +0100 ++++ dvipdfmx-20120420/src/fontmap.c 2012-05-06 04:59:09.000000000 +0200 +@@ -566,13 +566,17 @@ + skip_blank(&p, endptr); + + /* The first field (after TFM name) must be PostScript name. */ +- if (p < endptr) { +- q = parse_string_value(&p, endptr); +- if (q) RELEASE(q); +- skip_blank(&p, endptr); +- } else { +- WARN("Missing a PostScript font name."); +- return -1; ++ /* However, pdftex.map allows a line without PostScript name. */ ++ ++ if (*p != '"' && *p != '<') { ++ if (p < endptr) { ++ q = parse_string_value(&p, endptr); ++ if (q) RELEASE(q); ++ skip_blank(&p, endptr); ++ } else { ++ WARN("Missing a PostScript font name."); ++ return -1; ++ } + } + + if (p >= endptr) return 0; +@@ -604,7 +608,7 @@ + if ((t = parse_string_value(&r, e))) { + if (strcmp(t, "SlantFont") == 0) + mrec->opt.slant = atof(s); +- else if (strcmp(r, "ExtendFont") == 0) ++ else if (strcmp(t, "ExtendFont") == 0) + mrec->opt.extend = atof(s); + RELEASE(t); + } |