[Poppler-bugs] [Bug 101855] Embedded TrueType Symbols with accents not rendered correctly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 21 21:56:12 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101855

--- Comment #9 from Adrian Johnson <ajohnson at redneon.com> ---
(In reply to Simon Shugar from comment #8)
> Is there any where you would recommend that I can read up upon font encoding
> within PDFs?

https://www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.pdf

Section 9.6.6.

In particular for TrueType fonts you should read 9.6.6.4 where it starts with:

"Because some aspects of TrueType glyph selection are dependent on the
conforming reader or the operating system, PDF files that use TrueType fonts
should follow certain guidelines to ensure predictable behaviour across all
conforming readers:"

and also the note:

"Some popular TrueType font programs contain incorrect encoding information.
Implementations of TrueType font interpreters have evolved heuristics for
dealing with such problems; those heuristics are not described here. For
maximum portability, only well-formed TrueType font programs should be used
in PDF files. Therefore, a TrueType font program in a PDF file may need to be
modified to conform to these guidelines."

and:

"If a character cannot be mapped in any of the ways described previously, a
conforming reader may supply a mapping of its choosing."

When I developed the cairo font embedding I would test with Adobe Reader,
Ghostscript, and poppler. If the PDF did not work with all three that was
usually an indication I did something wrong.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170721/29472c80/attachment.html>


More information about the Poppler-bugs mailing list