How can I bring a 3rd party font into my HISE Project and apply it to the preset browser and labels and comboboxes?
-
I want to have a font that I had downloaded online and I want to put it in the preset browser, hise labels, and my combo boxes
-
@duma You can use
Engine.loadFontAs()to load a font from the project's images folder.For the controls you mentioned you can set the font in the interface designer.

You can also use look and feel if you need more customisation.
-
@David-Healey So using Engine.loadFontAs() work if I put it in the script box on everything I set to the Default font name?
-
@duma Not sure what you mean by script box.
-
@David-Healey where all the code goes*
-
@duma code editor**
-
@duma Yes the script goes there. There's an example in the docs: https://docs.hise.dev/scripting/scripting-api/engine/index.html#loadfontas
-
@David-Healey It didn't do anything

-
@duma you need to select the font you loaded