[Interest] Qt5 font size issue with fontconfig

Ramakanth Kesireddy rama.kesi at gmail.com
Sat Oct 31 12:34:08 CET 2020


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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201031/1aff02e9/attachment.html>

More information about the Interest mailing list