<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Embedded TrueType Symbols with accents not rendered correctly"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101855#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Embedded TrueType Symbols with accents not rendered correctly"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101855">bug 101855</a>
              from <span class="vcard"><a class="email" href="mailto:ajohnson@redneon.com" title="Adrian Johnson <ajohnson@redneon.com>"> <span class="fn">Adrian Johnson</span></a>
</span></b>
        <pre>(In reply to Simon Shugar from <a href="show_bug.cgi?id=101855#c8">comment #8</a>)
<span class="quote">> Is there any where you would recommend that I can read up upon font encoding
> within PDFs?</span >

<a href="https://www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.pdf">https://www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.pdf</a>

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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>