Closed foolnotion closed 6 years ago
At present it infers the font name from the filename, which usually works, but assumes that font collections use the <face>-<weight>
naming scheme, e.g. Consolas-Regular.ttf
and Consolas-Italic.ttf
rather than consola.ttf
and consoli.ttf
.
I have a fix in the works that uses the metadata already present in the font and ignores the filename, I just keep getting preempted by non-programming stuff. I'll make sure it works properly with Consolas.
Fixed in 670d05e -- Consolas isn't included in the repo but I tested it locally with the Consolas family.
Hi,
I was trying to ligaturize Microsoft's Consolas font, which comes as a collection of ttf files:
All the original ttf files have the same font name, "Consolas", however the liga versions have their names wrong: consola, consolai, consolab, consolaz instead of "Consolas", therefore the font no longer works as a collection.