diff options
Diffstat (limited to 'pdf/pdf_unicode.c')
-rw-r--r-- | pdf/pdf_unicode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/pdf_unicode.c b/pdf/pdf_unicode.c index 2b28b608..3f27eeb7 100644 --- a/pdf/pdf_unicode.c +++ b/pdf/pdf_unicode.c @@ -18,7 +18,7 @@ pdf_load_to_unicode(pdf_font_desc *font, pdf_xref *xref, { error = pdf_load_embedded_cmap(&cmap, xref, cmapstm); if (error) - return fz_rethrow(error, "cannot load embedded cmap (%d %d R)", fz_to_num(cmapstm), fz_to_gen(cmapstm)); + return fz_error_note(error, "cannot load embedded cmap (%d %d R)", fz_to_num(cmapstm), fz_to_gen(cmapstm)); font->to_unicode = pdf_new_cmap(); @@ -54,7 +54,7 @@ pdf_load_to_unicode(pdf_font_desc *font, pdf_xref *xref, error = pdf_load_system_cmap(&font->to_unicode, "Adobe-Korea1-UCS2"); if (error) - return fz_rethrow(error, "cannot load ToUnicode system cmap %s-UCS2", collection); + return fz_error_note(error, "cannot load ToUnicode system cmap %s-UCS2", collection); } if (strings) |