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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 4 10:46:22 UTC 2017


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

--- Comment #16 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
(In reply to Albert Astals Cid from comment #15)
> ********
> 
> My understanding of the first point of the "(3, 1) “cmap” subtable"
> section", i.e. "A character code shall be first mapped to a glyph name using
> the table described above." is that it should always use the table described
> in the first paragraph "the conforming reader shall create a table", which
> if there is no "MacRomanEncoding or WinAnsiEncoding" fallsback to the second
> point of the first paragraph "If the Encoding entry is a dictionary", no?

But this is done also with my patch: Please have a look into the code. If
useMacRoman is false but useUnicode is true a table is created on line 1773ff. 
The difference between with and without the patch is just the following:
If usesMacRomanEnc is true and a macRomanCmap exists, the unicodeCmap is
ignored even if it exists without the patch. With the patch the unicodeCmap is
used always if it exists but not directly, it behaves then also like before if
usesMacRomanEnc would be false.

-- 
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/20170804/4f56b9a6/attachment.html>


More information about the Poppler-bugs mailing list