<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>