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?

Best Regards,
Ramakanth

On Fri, 6 Nov, 2020, 21:08 Thiago Macieira, <thiago.macie...@intel.com>
wrote:

> 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
> dpi
> > display which would work for all display sizes or just setting point size
> > would help?
>
> Officially:
>
> 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@qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to