snowie2000 / mactype

Better font rendering for Windows.
https://mactype.net
GNU General Public License v3.0
9.88k stars 439 forks source link

MacType is not working with qBittorrent #884

Open krasimirkrustev opened 2 years ago

krasimirkrustev commented 2 years ago

MacType is not working qBittorrent (v4.3.3.1, qt6, x64).

sammilucia commented 2 years ago

hiya, what version of MacType are you using?

can you please be more specific about what you mean by not working?

krasimirkrustev commented 2 years ago

I am on Windows 10 21H2, using latest version of MacType 2021.1-RC1, it's on Service Mode and LCD profile. The problem is qBittorrent is not affected by MacType. Enabled or Disabled, it's the same, no change in font rendering.

snowie2000 commented 2 years ago

I figured out that the qBittorrent by default registers itself as "run as administrator", which mactype can't hook into on its launch.

Moreover, the qBittorrent is built with QT which will cache fonts, which means all the characters will be handled by GDI/MacType only once, and QT will do the painting after that.

Solution: unchecking the "run as administrator" property from qB shortcut.

krasimirkrustev commented 2 years ago

"Run as Administrator" is unchecked. I'm not sure where you did see it checked by default.

snowie2000 commented 2 years ago

I installed an official version of qBittorrent and it is run as administrator by default.

Check if yours is elevated in the task manager.

Galuis commented 2 years ago

It looks good to me.

qB

I set up DW Rendering mode to 6.

[DirectWrite]
RenderingMode=6
GammaValue=0.2
Contrast=0.2
ClearTypeLevel=0
aquafr0g commented 2 years ago

It looks good to me.

qB

I set up DW Rendering mode to 6.

[DirectWrite]
RenderingMode=6
GammaValue=0.2
Contrast=0.2
ClearTypeLevel=0

Do you mind sharing your profile ini, please?