https://bugs.kde.org/show_bug.cgi?id=234754
Ahmad Samir <a.samir...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |5.23
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/commit/
                   |                            |6ae36d4b5045e6bdc86fd0d26ab
                   |                            |f5bf393d65dad
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from Ahmad Samir <a.samir...@gmail.com> ---
Git commit 6ae36d4b5045e6bdc86fd0d26abf5bf393d65dad by Ahmad Samir.
Committed on 20/07/2021 at 16:55.
Pushed by ahmadsamir into branch 'master'.

kio_fonts: fix the thumbnails creation by tweaking the USEntry fields

- Set the fancy name, e.g. "Foo, Bold Italic", as UDS_DISPLAY_NAME
- Set the actual file name, e.g. foo-bold.ttf, as UDS_NAME
- Set the actual file url, e.g. /usr/share/fonts/truetype/foo-bold.ttf as
UDS_URL

Setting the UDS_URL fixes font thumbnail creation when using kio_fonts.
And IIUC, also avoids calling get() on "font:/" urls, the files are already
local; setting the UDS_URL makes all the font previews work on my system
at least.
FIXED-IN: 5.23

M  +11   -22   kcms/kfontinst/kio/KioFonts.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/6ae36d4b5045e6bdc86fd0d26abf5bf393d65dad

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to