[Interest] Qt5 font size issue with fontconfig

Ramakanth Kesireddy rama.kesi at gmail.com
Sun Nov 1 09:12:59 CET 2020


Thanks a lot for your feedback.
Could you please let me know the bug that has been fixed in Qt 4.8?
Yes shall reduce the point size as it appears the font size is large unlike
Qt4.8 and the text is truncated in table view rows and other text in UI.

Shall upgrade the version early next year either Qt 5.12 or Qt6.

Best Regards,
Ramakanth

On Sun, Nov 1, 2020 at 3:24 AM Thiago Macieira <thiago.macieira at intel.com>
wrote:

> On Saturday, 31 October 2020 04:34:08 PDT Ramakanth Kesireddy wrote:
> > 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?
>
> Most likely, Qt 5 is displaying the fonts correctly and Qt 4 isn't because
> Qt
> 4 didn't support HighDPI.
>
> In other words, the bug that existed has been fixed. If your UX people
> thing
> it's too bug, then reduce the size.
>
> Also, upgrade to at least 5.12.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel DPG Cloud Engineering
>
>
>
> _______________________________________________
> 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/20201101/418fbec6/attachment.html>


More information about the Interest mailing list