Issue #50: Fix of Body 01 Drawing.pdf

This commit is contained in:
Jakub Melka 2023-04-29 19:50:29 +02:00
parent 62c0f9c241
commit 37dd55a361
1 changed files with 1 additions and 1 deletions

View File

@ -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();