Text won't appear if user does not have font

For general discussion related FlowStone
Post Reply
cubician
Posts: 6
Joined: Fri Jun 13, 2014 12:15 am

Text won't appear if user does not have font

Post by cubician »

I'm developing a VSTi. The font used for everything is Futura. Computers that do not have Futura will not display the text, thus leaving knobs without labels.

Is there a way to include a font within the VSTi, or do I have to bake everything to a bitmap?

EDIT: Here's pictures of the issue. The first is the VSTi working properly on a computer with the font, and the second is a test computer without the font installed.

Properly working
Properly working
Capture.JPG (31.44 KiB) Viewed 7605 times


Missing text bug
Missing text bug
653f33571d15e07332423ea420b26b2c.png (5.83 KiB) Viewed 7605 times
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Text won't appear if user does not have font

Post by tester »

"Font" primitive has input node called "alternative typefaces". Adding there something like arial or else present by default in the system - should help (though - never tested - check what manuals write about it).

Another way is to use bitmaps with texts on it instead this.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Perfect Human Interface
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: Text won't appear if user does not have font

Post by Perfect Human Interface »

Baking it in is generally the best way if you can, but otherwise you'd have to create a Windows installer that installs the font along with the plugin.
Post Reply