text Scaling differently across OS
-
I haven't tried in the exported plugin but I have a project with an imported text. It appears normal on Windows but brought into Mac it seems to scale differently. Has anyone experienced this before/have a remedy?
Already using
Engine.loadFontAs
ostensibly platform agnostic. -
@HISEnberg said in text Scaling differently across OS:
It appears normal on Windows
What's normal?
This is a known issue, some fonts don't play nicely across different operating systems. You need to add a check for each OS and adjust the font size accordingly.
-
@HISEnberg Yes, this happens with some fonts. You need the Latin-only versions of the font (if you use only Latin chars in your plugin) could help but I am not sure if it works for every font.
Here is an explanation: https://forum.hise.audio/topic/5958/fonts-smaller-on-windows/3
-
-
-
@HISEnberg said in text Scaling differently across OS:
@orange @d-healey Thanks I see, I am using Latin-strict fonts but the issue persists. Luckily it is just a few labels that have this issue so I will just resize them for each OS but this is good information to have.
If I recall correctly there is the issue that mac pixels are square and Windows they are rectangles... so right down at the lowest possible level of display - they are different - so you need to compensate for the OS (or in this case hardware) in your code..