summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-07-21 23:14:28 +0000
committerKarl Berry <karl@freefriends.org>2014-07-21 23:14:28 +0000
commit38ee9f8d357d77773fbfacf133dc0c3e9d096382 (patch)
tree7fe56f6707cd32cc96bbe94c2bce26a1ef82e1d8 /Build/source/texk/dvipdfm-x
parentde828dac39af18042dadc80afe99c48604cd561c (diff)
disambiguate "Not a CFF/OpenType font?" message
git-svn-id: svn://tug.org/texlive/trunk@34685 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x')
-rw-r--r--Build/source/texk/dvipdfm-x/cidtype0.c16
-rw-r--r--Build/source/texk/dvipdfm-x/type1c.c6
2 files changed, 11 insertions, 11 deletions
diff --git a/Build/source/texk/dvipdfm-x/cidtype0.c b/Build/source/texk/dvipdfm-x/cidtype0.c
index 440bd3f8413..4fbb7401f50 100644
--- a/Build/source/texk/dvipdfm-x/cidtype0.c
+++ b/Build/source/texk/dvipdfm-x/cidtype0.c
@@ -522,10 +522,10 @@ CIDFont_type0_dofont (CIDFont *font)
if (sfnt_read_table_directory(sfont, 0) < 0 ||
sfont->type != SFNT_TYPE_POSTSCRIPT)
- ERROR("Not a CFF/OpenType font ?");
+ ERROR("Not a CFF/OpenType font (1)?");
offset = sfnt_find_table_pos(sfont, "CFF ");
if (offset == 0)
- ERROR("Not a CFF/OpenType font ?");
+ ERROR("Not a CFF/OpenType font (2)?");
#ifdef XETEX
cffont = cff_open(sfont, offset, font->options->index);
@@ -745,13 +745,13 @@ CIDFont_type0_open (CIDFont *font, const char *name,
sfont = sfnt_open(fp);
if (!sfont) {
- ERROR("Not a CFF/OpenType font?");
+ ERROR("Not a CFF/OpenType font (3)?");
}
#endif
if (sfont->type != SFNT_TYPE_POSTSCRIPT ||
sfnt_read_table_directory(sfont, 0) < 0 ||
(offset = sfnt_find_table_pos(sfont, "CFF ")) == 0) {
- ERROR("Not a CFF/OpenType font?");
+ ERROR("Not a CFF/OpenType font (4)?");
}
#ifdef XETEX
@@ -926,10 +926,10 @@ CIDFont_type0_t1cdofont (CIDFont *font)
if (sfnt_read_table_directory(sfont, 0) < 0 ||
sfont->type != SFNT_TYPE_POSTSCRIPT)
- ERROR("Not a CFF/OpenType font ?");
+ ERROR("Not a CFF/OpenType font (5)?");
offset = sfnt_find_table_pos(sfont, "CFF ");
if (offset == 0)
- ERROR("Not a CFF/OpenType font ?");
+ ERROR("Not a CFF/OpenType font (6)?");
#ifdef XETEX
cffont = cff_open(sfont, offset, font->options->index);
@@ -1180,12 +1180,12 @@ CIDFont_type0_t1copen (CIDFont *font, const char *name,
sfont = sfnt_open(fp);
#endif
if (!sfont) {
- ERROR("Not a CFF/OpenType font?");
+ ERROR("Not a CFF/OpenType font (7)?");
}
if (sfont->type != SFNT_TYPE_POSTSCRIPT ||
sfnt_read_table_directory(sfont, 0) < 0 ||
(offset = sfnt_find_table_pos(sfont, "CFF ")) == 0) {
- ERROR("Not a CFF/OpenType font?");
+ ERROR("Not a CFF/OpenType font (8)?");
}
#ifdef XETEX
diff --git a/Build/source/texk/dvipdfm-x/type1c.c b/Build/source/texk/dvipdfm-x/type1c.c
index 60c39f31aa9..23dc7b68d4c 100644
--- a/Build/source/texk/dvipdfm-x/type1c.c
+++ b/Build/source/texk/dvipdfm-x/type1c.c
@@ -100,12 +100,12 @@ pdf_font_open_type1c (pdf_font *font)
if (!sfont ||
sfont->type != SFNT_TYPE_POSTSCRIPT ||
sfnt_read_table_directory(sfont, 0) < 0) {
- ERROR("Not a CFF/OpenType font?");
+ ERROR("Not a CFF/OpenType font (9)?");
}
offset = sfnt_find_table_pos(sfont, "CFF ");
if (offset < 1) {
- ERROR("No \"CFF \" table found. Not a CFF/OpenType font?");
+ ERROR("No \"CFF \" table found; not a CFF/OpenType font (10)?");
}
#ifdef XETEX
@@ -309,7 +309,7 @@ pdf_font_load_type1c (pdf_font *font)
}
if (sfont->type != SFNT_TYPE_POSTSCRIPT ||
(offset = sfnt_find_table_pos(sfont, "CFF ")) == 0) {
- ERROR("Not a CFF/OpenType font ?");
+ ERROR("Not a CFF/OpenType font (11)?");
}
#ifdef XETEX