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

Christoph Feck <cf...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdelibs-b...@kde.org
         Resolution|INVALID                     |---
     Ever confirmed|0                           |1
             Status|RESOLVED                    |REOPENED
            Version|16.12.3                     |unspecified
            Product|konsole                     |frameworks-kwidgetsaddons
           Assignee|konsole-de...@kde.org       |cf...@kde.org
          Component|font                        |general
            Summary|Bold fonts not displaying   |KFontRequester: Fonts are
                   |when proper settings        |saved with face name
                   |checked                     |preventing bold/italic to
                   |                            |work

--- Comment #3 from Christoph Feck <cf...@kde.org> ---
I analyzed the issue and came to the conclusion that it is a bug in
KFontRequester not correctly handling the font matching since Qt 5.8.0.

The issue is that KFontRequester tries to find the selected font (or the
nearest matching font) in the QFontDatabase. If it finds it there, it actually
updates the selected font to what it found there.

For example, if you had selected "Noto Sans", it will scan the database
including selected weight and style attributes, and find "Noto Sans Regular" as
the best match. Once this match is saved, however, the attributes implied by
the font face name takes precedence over the attributes specified by the
application.

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

Reply via email to