[Interest] Qt5 font size issue with fontconfig

Florian Bruhin me at the-compiler.org
Thu Nov 12 10:47:24 CET 2020


On Thu, Nov 12, 2020 at 12:37:33AM +0000, Hamish Moffatt wrote:
> On 12/11/20 2:46 am, Thiago Macieira wrote:
> > 
> > NEVER calculate font sizes in pixels. Your design is wrong. Delete this
> > function and use point sizes throughout.
> 
> Too bad the Qt Widget stylesheet function only supports point sizes for
> fonts.

Not sure what makes you think so:
https://doc.qt.io/qt-5/stylesheet-reference.html#font-prop
"The font size. In this version of Qt, only pt and px metrics are
supported."

Florian

-- 
me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201112/91275206/attachment.sig>


More information about the Interest mailing list