<div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">It works for me (Win 10, Qt 6.8.1).</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">I didn't add the font to the Windows fonts directory though but used QFontDatabase.addApplicationFont.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">Also setItalic(True) produces oblique font which is synthesized italic, using the "Bold Italic" style produces better results</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><img src="cid:ii_m5kdqjbz2" alt="2025-01-06 08_44_44-python.png" width="537" height="285"><br>.</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></div><br></div>