From 37dd55a3618dc65a8636afd0abf845cf3b62eed0 Mon Sep 17 00:00:00 2001 From: Jakub Melka Date: Sat, 29 Apr 2023 19:50:29 +0200 Subject: [PATCH] Issue #50: Fix of Body 01 Drawing.pdf --- Pdf4QtLib/sources/pdffont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pdf4QtLib/sources/pdffont.cpp b/Pdf4QtLib/sources/pdffont.cpp index fdda6cf..ae7acb3 100644 --- a/Pdf4QtLib/sources/pdffont.cpp +++ b/Pdf4QtLib/sources/pdffont.cpp @@ -1505,7 +1505,7 @@ PDFFontPointer PDFFont::createFont(const PDFObject& object, const PDFDocument* d fontDescriptor = readFontDescriptor(fontDescriptorObjectForCompositeFont, document); QByteArray cidToGidMapping; - const PDFObject& cidToGidMappingObject = document->getObject(descendantFontDictionary->get("CIDtoGIDMap")); + const PDFObject& cidToGidMappingObject = document->getObject(descendantFontDictionary->get("CIDToGIDMap")); if (cidToGidMappingObject.isStream()) { const PDFStream* cidToGidMappingStream = cidToGidMappingObject.getStream();