summaryrefslogtreecommitdiff
path: root/apps/pdfextract.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/pdfextract.c')
-rw-r--r--apps/pdfextract.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/pdfextract.c b/apps/pdfextract.c
index 7d49f997..f17edff2 100644
--- a/apps/pdfextract.c
+++ b/apps/pdfextract.c
@@ -96,6 +96,8 @@ static void savefont(pdf_obj *dict, int num)
ext = "cff";
else if (!strcmp(subtype, "CIDFontType0C"))
ext = "cid";
+ else if (!strcmp(subtype, "OpenType"))
+ ext = "otf";
else
fz_throw(ctx, "Unhandled font type '%s'", subtype);
}