Custom Font with VSTGUI4

A user interface toolkit mainly for audio plug-ins (VST, AudioUnit, etc).
Post Reply
humt
Posts: 9
Joined: Sun Mar 22, 2020 7:41 pm

Custom Font with VSTGUI4

Post by humt »

Hi Friends,

Is it possible to use custom font (added as say a ..ttf or .otf resource) for controls say for CTextLabel ?
Could not find anything in the documentation.

Thanks a lot

humt
Posts: 9
Joined: Sun Mar 22, 2020 7:41 pm

Re: Custom Font with VSTGUI4

Post by humt »

I found some reference here.. viewtopic.php?f=5&t=595

Arne Scheffler
Posts: 353
Joined: Mon Jun 20, 2016 7:53 am

Re: Custom Font with VSTGUI4

Post by Arne Scheffler »

Hi,
there's partial support in the latest release. It's working for macOS, Linux and the latest Windows 10 version, Windows 7 is not supported. For Windows, you need to use at least the Windows 10 Creator Update SDK for compilation.
After that, you just need to place your fonts into a subfolder named "Fonts" inside your Resource directory (so you need to use the package structure for your plug-in). And then you can use these fonts by name in VSTGUI.

Cheers,
Arne

Post Reply