<div dir="ltr">Hello, <div><br></div><div>I am having trouble obtaining anti-aliasing in Windows 7 when rendering text</div><div><br></div><div>Both</div><div>  Â  `painter.setRenderHint(QPainter.Antialiasing)` </div><div>and</div><div>  Â  `font.setStyleStrategy(QFont.PreferAntialias)` are ineffective. <br></div><div><br></div><div>However, anti-aliasing works when setting up ClearType and smooth edges system-wise</div><div><br></div><div>  Â  - Control Panel ></div><div>  Â  Â  Â  Â Appearance and Personalization > </div><div>  Â  Â  Â  Â  Â  Â Adjust ClearType text > </div><div>  Â  Â  Â  Â  Â  Â  Â  Â enable "Turn on CrearType".<br></div><div>  Â  - Start Menu ></div><div>  Â  Â  Â  Â  Adjust the appearance and performance of Windows" or from Computer ></div><div>  Â  Â  Â  Â  Â  Â  System Properties ></div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Windows Experience Index (link) ></div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  [shield] Adjust visual effects (left sidebar) ></div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  enable "Smooth edges of screen fonts"</div><div> </div><div>Is there a way to forcibly enable anti-aliasing when drawing text, even when those settings are unset? It works perfectly on Linux.</div><div><br></div><div>Thanks,<br>Sylvain</div></div>