<div dir="auto"><div>Ok Thanks for your mail. Forgot to mention that Qt UI is based on QWidgets(QPainter) with unicodes.</div><div dir="auto"><br></div><div dir="auto">Is this the reason why auto scale attribute doesn't works and need to use QFontmetrics to set point size for the DPI accordingly?</div><div dir="auto"><br></div><div dir="auto">Best Regards,</div><div dir="auto">Ramakanth<br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Fri, 6 Nov, 2020, 21:08 Thiago Macieira, <<a href="mailto:thiago.macieira@intel.com">thiago.macieira@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Friday, 6 November 2020 05:00:15 PST Ramakanth Kesireddy wrote:<br>
> Is there any formula to calculate the font size in point size based on dpi<br>
> display which would work for all display sizes or just setting point size<br>
> would help?<br>
<br>
Officially:<br>
<br>
size in inches = size in points / 72 * dots-per-inch<br>
<br>
In practice, most display systems do not obey the actual DPI setting.<br>
<br>
-- <br>
Thiago Macieira - thiago.macieira (AT) <a href="http://intel.com" rel="noreferrer noreferrer" target="_blank">intel.com</a><br>
  Software Architect - Intel DPG Cloud Engineering<br>
<br>
<br>
<br>
_______________________________________________<br>
Interest mailing list<br>
<a href="mailto:Interest@qt-project.org" target="_blank" rel="noreferrer">Interest@qt-project.org</a><br>
<a href="https://lists.qt-project.org/listinfo/interest" rel="noreferrer noreferrer" target="_blank">https://lists.qt-project.org/listinfo/interest</a><br>
</blockquote></div></div></div>