Inaccessible font: same family, different style and fullname, plus tags.xml grows
Distinct fonts, each in a separate OTF file, fail to work properly in gimp 2.10.10. An example font that shows the problem is https://www.dafont.com/ostrich-sans.font
$ fc-list 'Ostrich Sans Stack'
/home/foo/.fonts/OstrichSansStack-1.otf: Ostrich Sans Stack:style=1,Regular
/home/foo/.fonts/OstrichSansStack-2.otf: Ostrich Sans Stack:style=2,Regular
/home/foo/.fonts/OstrichSansStack-3.otf: Ostrich Sans Stack:style=3,Regular
/home/foo/.fonts/OstrichSansStack-4.otf: Ostrich Sans Stack:style=4,Regular
$
Note, the style of each differs, along with other attributes:
$ diff -y --suppress-common-lines \
> <(fc-query OstrichSansStack-1.otf) \
> <(fc-query OstrichSansStack-2.otf)
style: "1"(s) "Regular"(s) | style: "2"(s) "Regular"(s)
fullname: "Untitled"(s) "Ostrich Sans Stack 1"(s) | fullname: "Untitled"(s) "Ostrich Sans Stack 2"(s)
file: "OstrichSansStack-1.otf"(s) | file: "OstrichSansStack-2.otf"(s)
postscriptname: "OstrichSansStack-1"(s) | postscriptname: "OstrichSansStack-2"(s)
$
Rather than using the ‘fullname’ above, ‘Toolbox Fonts’ appends its own ‘#number’ to make them distinct:
Ostrich Sans Stack
Ostrich Sans Stack #1
Ostrich Sans Stack #2
Ostrich Sans Stack #3
Selecting the first of those gives text in that font, but all the rest appear as some default-looking sans serif.
And every time gimp is quit, ~/.config/GIMP/2.10/tags.xml has gained more duplicates of the existing entry, making the file ever larger. There are now many
<resource identifier="Ostrich Sans Stack" checksum="(null)">
<tag>foo</tag>
</resource>