You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_unicode_map includes a check that if the /ToUnicode key is a name, that it must be /Identity-H.
I have searched the pdf spec and checked a bunch of personal pdfs to see whether this is justified.
It seems to be a violation of the standard, is there an example of this occurring in practice?
The text was updated successfully, but these errors were encountered:
sftse
changed the title
/ToUnicode checking
/ToUnicode spec violation
Oct 5, 2023
From the PDF standard p.292
"This information can be provided as an optional ToUnicode entry in the font dictionary (PDF 1.2; see
9.10.3, "ToUnicode CMaps"), whose value shall be a stream object containing a special kind of CMap file
that maps character codes to Unicode values."
To clarify my question, it seems the PDF standard mandates the entry to be a stream object, is there an example where this entry was a name object?
get_unicode_map
includes a check that if the /ToUnicode key is a name, that it must be /Identity-H.I have searched the pdf spec and checked a bunch of personal pdfs to see whether this is justified.
It seems to be a violation of the standard, is there an example of this occurring in practice?
The text was updated successfully, but these errors were encountered: