D27380: [GTK Config] Construct font style by hand instead of relying on Qt function

Nathaniel Graham noreply at phabricator.kde.org
Wed Feb 26 18:42:28 GMT 2020


ngraham added a comment.


  In D27380#618528 <https://phabricator.kde.org/D27380#618528>, @IlyaBizyaev wrote:
  
  > In D27380#618526 <https://phabricator.kde.org/D27380#618526>, @ngraham wrote:
  >
  > > Prior to 5.18, you had to set the GTK font separately; now it's auto-synced.
  >
  >
  > Right, so that's the difference in font style names between Qt and GTK that caused the problem?
  
  
  The problem being solved here is that starting with 5.18, style names were being localized, which GTK doesn't understand, causing it to fall back to the default font. This patch fixes that.
  
  >> Were you able to use an italic/bold/etc GTK font in 5.17 or earlier? I must admit I never tried, so if not being able to now is a regression, that's why I never noticed. :(
  > 
  > Never tried, but Regular worked :)
  
  And with this patch, it still will. :)

REPOSITORY
  R99 KDE Gtk Configuration Tool

REVISION DETAIL
  https://phabricator.kde.org/D27380

To: gikari, #plasma, ervin, bport, meven, davidedmundson
Cc: chauvin, davidre, davidedmundson, cfeck, ngraham, IlyaBizyaev, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200226/fbd878e0/attachment-0001.html>


More information about the Plasma-devel mailing list