Nidhogg wrote:
What do you mean by adding the class to the name?
Editing the fontname in font editor or simply renaming the file?
I think this concerns only Windows OS.
Possibly, only Windows. I have several fonts, for example, Stradas is one of them. Stradas has 3 class styles (Solid, Outline, and Inline). It also has a webfont style for CSS, but I don't care for that and didn't upload it. If I click and upload all 3 fonts for Stradas, GIMP recognizes the first one, and ignores the other 2. They display as a generic serif style font, while Stradas Solid displays as it should.
When you create fonts, you usually have 3 naming options, one being FAMILY, the next being STYLE, and then any subset variation you might create. Most fonts only group FAMILY and STYLE together. To answer your question, in the editor, you open the font, and within TTF Names you delete the style completely and add the style to the FAMILY name. This disconnects the fonts from being grouped together, and when you re-generate it, you'll know what class it is because you moved the class to the name. Example: Stradas_Outline. Now GIMP displays it correctly.
Before the changes:
After deleting the styles and renaming font:
_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes