Paul-Dempsey / pachde1

VCV Rack modules
Other
6 stars 0 forks source link

TODO: Use font name from font file rather than filename #3

Open Paul-Dempsey opened 1 year ago

Paul-Dempsey commented 1 year ago

Some fonts have horrible filenames and the real font name is embedded in the font file. Since we want to display the name in the UI (in the right click menu for the Info module, for example), we should retrieve the actual font name from the file.

To do that we must decode the file format, which is fortunately publicly documented:

Need to: