Info catalog accessors (Issue #9)

This commit is contained in:
Michael R Sweet
2021-07-06 20:31:30 -04:00
parent 4f6a7ab03f
commit 30343cdb00
6 changed files with 214 additions and 13 deletions

View File

@@ -1491,7 +1491,8 @@ pdfioFileCreateFontObjFromFile(
pdfioDictSetName(dict, "Subtype", "Type0");
pdfioDictSetName(dict, "BaseFont", basefont);
pdfioDictSetArray(dict, "DescendantFonts", descendants);
pdfioDictSetName(dict, "Encoding", "Identity-H");
// pdfioDictSetName(dict, "Encoding", "Identity-H");
pdfioDictSetName(dict, "Encoding", "UniCNS-UCS2-H");
if ((obj = pdfioFileCreateObj(pdf, dict)) == NULL)
return (NULL);