[okular] [Bug 367959] Okular mangles some characters (non embedded fonts)

Sergio bugzilla_noreply at kde.org
Mon Nov 19 15:24:02 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=367959

--- Comment #8 from Sergio <sergio.callegari at gmail.com> ---
Can you please specify better on which platform you made the last screenshot?

I am on kubuntu 18.04 and I still see the issue.

The demo file is clearly *not embedding* its fonts and okular has to pick some
fonts that it finds on the system for its rendering, which is the factor
triggering the font mangling.  However, the requested font is
`TimesNewRomanPSMT`, so the fact that you have an *arial* font installed on the
system should not make any difference and if it does, this looks like one more
weirdness. Nonetheless, the font that is being substituted for the required
`TimesNewRomanPSMT` is `dejavusans.ttf` on my system, which is a sans font,
just like your arial so it looks like the system font machinery does not
correctly match TimesNewRomanPSMT to a Times New Roman font.

The document uses `TimesNewRomandPSMT` with two different encodings, one is
`WinAnsi` and the other one is `Identity-H` with some internal mapping to
unicode.

It looks like it is this Identity-H encoding to be troublesome to Okular.
Interestingly, also MasterPDFEditor recently mangles the fonts in the same way
as okular.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list