Try a different system info identifier for Unicode fonts.

This commit is contained in:
Michael R Sweet 2021-06-21 16:01:55 -04:00
parent 9ec7c8bde9
commit db8be28ff6
No known key found for this signature in database
GPG Key ID: 999559A027815955

View File

@ -1440,9 +1440,9 @@ pdfioFileCreateFontObjFromFile(
return (NULL); return (NULL);
} }
// CIDSystemInfo mapping to Adobe Identity (Unicode) // CIDSystemInfo mapping to Adobe UCS2 v0 (Unicode)
pdfioDictSetString(sidict, "Registry", "Adobe"); pdfioDictSetString(sidict, "Registry", "Adobe");
pdfioDictSetString(sidict, "Ordering", "Identity"); pdfioDictSetString(sidict, "Ordering", "UCS2");
pdfioDictSetNumber(sidict, "Supplement", 0); pdfioDictSetNumber(sidict, "Supplement", 0);
// Then the dictionary for the CID base font... // Then the dictionary for the CID base font...