Font spacing using Graphics.setFontWithSpacing
-
Hello!
I'm trying to implement the font inside Hise instrument, but have an issue with font spacing.
What code i need to use before Graphics.setFontWithSpacing?
When i use Graphics.setFontWithSpacing - it shows "Unknown function 'setFontWithSpacing" message in console.How can i solve that?
Also, what's the difference between String fontId and String fontName?
Engine.loadFontAs("{PROJECT_FOLDER}Fonts/STYALIGHT.otf", "STYALIGHT"); Graphics.setFontWithSpacing("STYALIGHT", 13, 10);
-
Functions in the graphics class will only work inside paint routines or look and feel functions.
-
@d-healey Have the same problem. And what can be the solution for spacing in this case? THank you a lot
-
@nouslou Are you calling the function inside a paint routine or LAF function?