I’ve added a new typeface() identifier which can be used with the form widget to set a custom font for your instruments. This will set a global font that all instrument widgets will use.
I think I got most widgets, but let me know if you find any that don’t work. .ttf and .otf files are supported, but mileage may vary.
This should be available in Azure in a half an hour or so.
Yeah, well you can place it anywhere, but beside the .csd file is probably the easiest. You can also place it in the C:/ProgramData/CabbageAudio/PluginName folder if you want to keep these things away from the dll.
Is this expected to work with unicode symbols like play/pause symbols, emojis, etc? If so… I’ve got to find a new default font with some good symbols, such as common wave shapes, play/pause, mute/unmute etc.
I think this will add a lot of easily accessible depth/richness to labels and controls… can’t wait to try it out tonight when I “freshen up”.
Is it possible to set the font size on sliders, comboboxes etc? Or set a general font size? I downloaded a nice font but its too small to read on the controls.
Only the label, nslider and texteditor and widgets let you set custom font size. I could potentially add fontSize support for combobox and listbox and buttons maybe, but not to sliders. They are already way too complex. The best thing there is to simply use a label.
Custom fonts are not being populated in the optionbutton widget (see attached). Also, does the fontsize() identifier work and if so what are the values we can use to define it? I tried adding it to either the form or an individual widget but to no avail.
To include support for this across all widgets would be a bit of work. I can look into it, but it would take some time. Also, it will potentially have an affect on everything that is out there, so I would need to be quite careful in how I approach it.
Hello! Quick question, is this still working? I can’t seem to make it change the font
Edit: Just found out that this happens only if I use images for knobs (sliders), how can I make it work?
The font on the right in image is the good one, but I want to use the left image for the knob