SourceForge has been redesigned. Learn more.
Close

#52 Embedded fonts issues using chrome pdf viewer

0.1.2.1
closed-fixed
Fonts (1)
1
2015-04-14
2013-09-12
veej
No

Trying to embed an external CID font (I tried Myriad Pro and Arial fonts) results in a document where all the whitespace are replaced by question marks (?) when you try to open it using Google Chrome integrated PDF viewer.
The same document is shown properly if opened with other PDF viewer (Adobe Acrobat, Evince, ...), even if Adobe Acrobat Reader seems not to recognize the correct font name (fonts are shown as "??????? (embedded)" in the document properties).

Discussion

  • Stefano Chizzolini

    Several reports indicated some limitations of more-recent viewers (like Chrome's and Mozilla's PDF.js) to handle mixed-length font encodings (like those used till PDF Clown 0.1.2.0, which are intrinsically correct): in order to avoid this issue, since version 0.1.2.1 encodings are single-length.
    The gibberish font name was caused by wrong endianness during TrueType font parsing: I committed this fix too.

    Fixed on 0.1.2-Fix branch (rev 182) and 0.2.0 trunk (rev 183).

     
  • Stefano Chizzolini

    • status: open --> closed-fixed
    • Group: v1.0_(example) --> 0.1.2.1
    • Priority: 5 --> 1
     

Log in to post a comment.