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:
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: