summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-font.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-font.c')
-rw-r--r--source/pdf/pdf-font.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source/pdf/pdf-font.c b/source/pdf/pdf-font.c
index cf72b5ba..b00fe18f 100644
--- a/source/pdf/pdf-font.c
+++ b/source/pdf/pdf-font.c
@@ -1058,12 +1058,7 @@ load_cid_font(fz_context *ctx, pdf_document *doc, pdf_obj *dict, pdf_obj *encodi
if (pdf_is_name(ctx, encoding))
{
- if (pdf_name_eq(ctx, encoding, PDF_NAME(Identity_H)))
- cmap = pdf_new_identity_cmap(ctx, 0, 2);
- else if (pdf_name_eq(ctx, encoding, PDF_NAME(Identity_V)))
- cmap = pdf_new_identity_cmap(ctx, 1, 2);
- else
- cmap = pdf_load_system_cmap(ctx, pdf_to_name(ctx, encoding));
+ cmap = pdf_load_system_cmap(ctx, pdf_to_name(ctx, encoding));
}
else if (pdf_is_indirect(ctx, encoding))
{