summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-02-12 08:43:54 +0000
committerKhaled Hosny <khaledhosny@eglug.org>2013-02-12 08:43:54 +0000
commit78e4be716cede7c502fc1d48a4e918b84d6ac697 (patch)
tree172b154635e0d59d1267c3f8581c0cfb23dbc129
parentf846f875e3353c6ca68836d67f6df131f21992b5 (diff)
Improve error message
git-svn-id: svn://tug.org/texlive/trunk@29087 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/xdvipdfmx/ChangeLog4
-rw-r--r--Build/source/texk/xdvipdfmx/src/fontmap.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/texk/xdvipdfmx/ChangeLog b/Build/source/texk/xdvipdfmx/ChangeLog
index e3fbe41cb3c..245d676a5dc 100644
--- a/Build/source/texk/xdvipdfmx/ChangeLog
+++ b/Build/source/texk/xdvipdfmx/ChangeLog
@@ -2,8 +2,10 @@
* dpxfile.c, dpxfile.h (dpx_find_dfont_file): Make public.
* fontmap.c (pdf_load_native_font_from_path): Fix loading *.dfont files.
- * fontmap.c (pdf_load_native_font): Drop use of depprecated ATS API, all
+ * fontmap.c (pdf_load_native_font): Drop use of deprecated ATS API, all
native fonts should be given as file names.
+ * fontmap.c (pdf_load_native_font): Show failed font name in error
+ message.
2013-02-08 Peter Breitenlohner <peb@mppmu.mpg.de>
diff --git a/Build/source/texk/xdvipdfmx/src/fontmap.c b/Build/source/texk/xdvipdfmx/src/fontmap.c
index b532ed7f7f2..93c3e565059 100644
--- a/Build/source/texk/xdvipdfmx/src/fontmap.c
+++ b/Build/source/texk/xdvipdfmx/src/fontmap.c
@@ -1202,7 +1202,7 @@ pdf_load_native_font (const char *ps_name,
CFRelease(atsName);
}
#else
- ERROR("Loading fonts by font name is not supported.");
+ ERROR("Loading fonts by font name is not supported: %s", ps_name);
#endif /* XETEX_MAC */
}