diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2009-02-27 00:30:05 +0100 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2009-02-27 00:30:05 +0100 |
commit | c96945b69cf2e9db873b1df2b392a5162dadcd2d (patch) | |
tree | 345886876b12b7d0d0da0cafcb8df351e66ebc6e | |
parent | 1b059435a8badf65758921a72527279f463b4a4d (diff) | |
download | mupdf-c96945b69cf2e9db873b1df2b392a5162dadcd2d.tar.xz |
When failing to load embedded font, attempt to load system font instead.
-rw-r--r-- | mupdf/pdf_font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mupdf/pdf_font.c b/mupdf/pdf_font.c index 970c1f44..e70630a5 100644 --- a/mupdf/pdf_font.c +++ b/mupdf/pdf_font.c @@ -912,7 +912,7 @@ pdf_loadfontdescriptor(pdf_fontdesc *fontdesc, pdf_xref *xref, fz_obj *dict, cha if (fz_isindirect(obj)) { - error = pdf_loadembeddedfont(fontdesc, xref, obj); + error = pdf_loadembeddedfont(font, xref, obj); if (error) goto cleanup; } |