mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix bug 77560
Related bug 76533
This commit is contained in:
@ -1762,7 +1762,10 @@ GfxCIDFont::GfxCIDFont(XRef *xref, const char *tagA, Ref idA, GString *nameA,
|
||||
|
||||
// check for fonts that use the Identity-H encoding (cmap), and the
|
||||
// Adobe-Identity character collection
|
||||
identityEnc = obj1.isName("Identity-H");
|
||||
GString* collectionL = collection->copy();
|
||||
collectionL->lowerCase();
|
||||
identityEnc = obj1.isName("Identity-H") && (strstr(collectionL->getCString(), "identity") || strstr(collectionL->getCString(), "indentity"));
|
||||
delete collectionL;
|
||||
|
||||
obj1.free();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user