D23257: Allow for easier syncing of Plasma font
David Edmundson
noreply at phabricator.kde.org
Mon Aug 19 09:53:43 BST 2019
davidedmundson added a comment.
We have a mixture of two things.
Here we have a serialised QFont
stored as
font=Lato,11,-1,5,50,0,0,0,0,0,Regular
using these magic methods:
QDataStream &QFont::operator<<(QDataStream &s, const QFont &font)
That tell other code how to turn a QFont object into a string and back. Including family, italics, size, etc.
In the SDDM PR we load that big text as a string, which won't go via that.
We're then using this constructor
QFont(const QString &family, int pointSize = -1, int weight = -1, bool italic = false)
---
Either SDDM code should deserialize the font (so that the italics and sizes and such work)
Or this code should only write the family name.
REPOSITORY
R123 SDDM Configuration Panel (KCM)
REVISION DETAIL
https://phabricator.kde.org/D23257
To: filipf, ngraham, #plasma, davidedmundson
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190819/37bbd5e0/attachment.html>
More information about the Plasma-devel
mailing list