Custom Font with VSTGUI4

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

Custom Font with VSTGUI4

Post by humt » Tue Mar 31, 2020 10:09 pm

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: 5
Joined: Sun Mar 22, 2020 7:41 pm

Re: Custom Font with VSTGUI4

Post by humt » Wed Apr 01, 2020 12:43 pm

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

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

Re: Custom Font with VSTGUI4

Post by Arne Scheffler » Thu Apr 02, 2020 8:18 am

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