diff options
Diffstat (limited to 'pdf/pdf_fontTT.c')
-rw-r--r-- | pdf/pdf_fontTT.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pdf/pdf_fontTT.c b/pdf/pdf_fontTT.c index e4540d244..3048869e6 100644 --- a/pdf/pdf_fontTT.c +++ b/pdf/pdf_fontTT.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2019-2022 Artifex Software, Inc. +/* Copyright (C) 2019-2023 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or @@ -715,11 +715,6 @@ pdfi_copy_truetype_font(pdf_context *ctx, pdf_font *spdffont, pdf_dict *font_dic uid_free(&font->pfont->UID, font->pfont->memory, "pdfi_read_type1_font"); uid_set_invalid(&font->pfont->UID); - code = pdfi_font_generate_pseudo_XUID(ctx, font_dict, font->pfont); - if (code < 0) { - goto error; - } - if (ctx->args.ignoretounicode != true) { code = pdfi_dict_get(ctx, font_dict, "ToUnicode", (pdf_obj **)&tmp); if (code >= 0 && pdfi_type_of(tmp) == PDF_STREAM) { |