summaryrefslogtreecommitdiff
path: root/pdf
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-04-07 20:08:39 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-04-07 20:08:39 +0200
commita876beec686d2cc5985debed58d58f963ef49408 (patch)
treed1829d2efd35f2bc7f1efdd87d818fa54ad060a3 /pdf
parent1bf442e1ccc99f875bcb8eadfe328d5c3d86edba (diff)
downloadmupdf-a876beec686d2cc5985debed58d58f963ef49408.tar.xz
Check for zero length dash arrays.
Diffstat (limited to 'pdf')
-rw-r--r--pdf/pdf_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_font.c b/pdf/pdf_font.c
index e82502a1..b19b516e 100644
--- a/pdf/pdf_font.c
+++ b/pdf/pdf_font.c
@@ -237,7 +237,7 @@ pdf_load_system_font(pdf_font_desc *fontdesc, char *fontname, char *collection)
return pdf_load_builtin_cjk_font(fontdesc, PDF_ROS_JAPAN, !isserif);
else if (!strcmp(collection, "Adobe-Korea1"))
return pdf_load_builtin_cjk_font(fontdesc, PDF_ROS_KOREA, !isserif);
- fz_warn("unknown cid collection: %s", collection);
+ return fz_throw("unknown cid collection: %s", collection);
}
else if (isfixed)