steinbergmedia/vstgui

Font drawing inconsistencies between Mac and Windows

Closed this issue · 5 comments

VSTGUI has the following two font drawing inconsistencies between Mac and Windows:

  • On Mac, fonts are drawn thicker and smoother than on Windows
  • On Windows, the anti-aliasing is not mono-chromatic as it is on Mac, but coloured

The following drawings are made with the current develop state of VSTGUI using the Hello World example app.

VSTGUI Font Drawing Inconsistencies

In the above image, the first image is not scaled correctly, so here again:

VSTGUI Font Drawing Inconsistencies 2

Hi @scheffle, actually I was able to fix both issues in our internal VSTGUI fork that, unfortunately, is not up-to-date to the current VSTGUI state. Here are the two changes I have made internally (still need to be validated by our QA, but on my machine it worked).

Actually, that part of the code changed and I do not find the lines in the latest state of VSTGUI.

Screenshot 2023-05-05 at 07 07 42

Screenshot 2023-05-05 at 07 08 02

If the fix gets validated, I would create a PR, but you could also investigate already and perhaps you are happy changing the code by yourself.

Hi @bxjoscha , I'm very busy at the moment, but I will take care of this in the coming weeks.