RomanKubiak / ctrlr

Ctrlr
BSD 3-Clause "New" or "Revised" License
523 stars 61 forks source link

TTF font title displays as font family title in drop-down list #527

Open now-its-dark opened 1 year ago

now-its-dark commented 1 year ago

Though I haven't tested this super extensively, it appears that when using imported TTF fonts, the drop-down font selector in ctrlr displays using the font family metadata, rather than the actual title of the font: for example, "Lunchtype22 Light", Bold etc just display as "Lunchtype22". This becomes an issue when using multiple fonts from the same family, as they show with the same name.

When I edited the metadata of the font file itself to use the "light" designation in the family field, it displayed correctly in ctrlr.

Using version 5.6.23 on MacOS ARM.

damiensellier commented 1 year ago

I noticed that too, ctrlr uses the metadata name on windows and the file name for mac (or the other way around). So I have to open the panel file in a text editor and search/replace font names in the xml.