[okular] [Bug 421027] Different fonts chosen to replace Helvetica inside and outside flatpak

Albert Astals Cid bugzilla_noreply at kde.org
Sat May 9 23:25:33 BST 2020


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

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jgrulich at redhat.com
            Summary|wrong text rendering when   |Different fonts chosen to
                   |installed with flatpak      |replace Helvetica inside
                   |                            |and outside flatpak
         Resolution|WAITINGFORINFO              |---
             Status|NEEDSINFO                   |REPORTED

--- Comment #9 from Albert Astals Cid <aacid at kde.org> ---
Yeah, as I suspected the file doesn't have the fonts attached so we're calling
fontconfig to return us the font the system things we should be using.

In your system for Helvetica it says NimbusSans-Regular.otf but in the flatpak
runtime it says qhvr.pfb, that's why you get different font renderings.

I have a similar issue locally

tsdgeos at xps:~:$ fc-match Helvetica
NimbusSans-Regular.otf: "Nimbus Sans" "Regular"
tsdgeos at xps:~:$ flatpak run --command=sh --devel org.kde.okular 
tsdgeos at xps:~:$ fc-match Helvetica
LiberationSans-Regular.ttf: "Liberation Sans" "Regular"

I don't think Okular flatpak can actually control that.

Maybe Jan (or resident flatpak expert) has an idea, adding him to the CC.

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


More information about the Okular-devel mailing list