[Interest] Qt5 font size issue with fontconfig

Marc Van Daele marc.van.daele90 at gmail.com
Sat Oct 31 13:32:08 CET 2020

Does setting

help?  This should be more or less the first line in your code.


On Sat, 31 Oct 2020 at 12:31, Ramakanth Kesireddy <rama.kesi at gmail.com>

> Hi,
> After porting the Qt 4.8 application to Qt 5.6.3 on embedded Linux(Yocto)
> with fontconfig, the font sizes appear larger on target.
> The Qt 4.8 application font size setting with 14pt default font appears
> larger in Qt 5.6.3 with fontconfig and needed fonts added in default
> fontconfig directory /usr/share/fonts.
> The dpi of the device is 141.
> Do I need to reduce the font size pt or set any environment variable scale
> factor so that text appears normal?
> Any suggestions are much appreciated.
> Thanks and Regards,
> Ramakanth
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201031/87c9a668/attachment.html>

More information about the Interest mailing list