I’m trying to get Typst to select Dharma Type’s Gothic Extras font, but to no avail. The latter is a collection of five dingbat fonts, “Gothic Extras A” … “Gothic Extras E”, which Typst identifies collectively as “Gothic Extras”:
$ typst fonts
...
Gothic Extras
├ /home/louis/.local/share/fonts/Dharma Type/Gothic Extras/gothicextras_b.otf
│ Style: Normal, Weight: 400, Stretch: 100%
├ /home/louis/.local/share/fonts/Dharma Type/Gothic Extras/gothicextras_a.otf
│ Style: Normal, Weight: 400, Stretch: 100%
├ /home/louis/.local/share/fonts/Dharma Type/Gothic Extras/gothicextras_d.otf
│ Style: Normal, Weight: 400, Stretch: 100%
├ /home/louis/.local/share/fonts/Dharma Type/Gothic Extras/gothicextras_c.otf
│ Style: Normal, Weight: 400, Stretch: 100%
└ /home/louis/.local/share/fonts/Dharma Type/Gothic Extras/gothicextras_e.otf
Style: Normal, Weight: 400, Stretch: 100%
As you can see, all identified variants have strictly identical parameters, but Typst will only allow one to set style, weight and strech keywords to well-defined values to differentiate individual variants, e.g. I cannot specify style: “E” for example.
I was hoping the compiler would understand the full family name, but it seems to abandon with an unknown font warning.
Here’s the output of otfinfo just in case
$ otfinfo -i Gothic\ Extras/gothicextras_d.otf
Family: Gothic Extras D
Subfamily: Regular
Full name: GothicExtras-D
PostScript name: GothicExtras-D
Preferred family: Gothic Extras
Preferred subfamily: D
Do you know if there is any way to select each font individually?
Cheers