[Interest] Qt5 font size issue with fontconfig
rama.kesi at gmail.com
Sat Nov 7 09:28:50 CET 2020
Ok Thanks for your mail. Forgot to mention that Qt UI is based on
QWidgets(QPainter) with unicodes.
Is this the reason why auto scale attribute doesn't works and need to use
QFontmetrics to set point size for the DPI accordingly?
On Fri, 6 Nov, 2020, 21:08 Thiago Macieira, <thiago.macieira at intel.com>
> On Friday, 6 November 2020 05:00:15 PST Ramakanth Kesireddy wrote:
> > Is there any formula to calculate the font size in point size based on
> > display which would work for all display sizes or just setting point size
> > would help?
> size in inches = size in points / 72 * dots-per-inch
> In practice, most display systems do not obey the actual DPI setting.
> Thiago Macieira - thiago.macieira (AT) intel.com
> Software Architect - Intel DPG Cloud Engineering
> Interest mailing list
> Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest