Closed DHowett closed 2 months ago
I also figured out why the stypo variants were being ignored in the PL/NF builds; /cc @phmajerus for the last commit
(Thanks so much for your investigation!!)
Hey, I love working on this stuff :D
Let me know if there is anything I need to do on my side when adding glyphs with stypo variants.
For now I've included the substitution of "normal" to "stypo" versions both in features.fea::rclt
of non-italic fonts, and in the global features/rclt.fea::rclt
. Is there any other place I need to include the stypo substitutions?
Just make sure it ends up in rclt_PL.fea
as well! Otherwise the powerline/nerdfont builds won’t get the optional stypo metrics 🙂
The build issue I was running into was caused by the logic that chooses when to merge Powerline glyphs into the final set before building.
It covered the following conditions:
However, it missed one:
I've simplified the logic so that we don't make this mistake again. All non-Cascadia-Code variants will have their names overridden, and if they contain PL or NF they will get special treatment.
I've also added the NF variants to the STAT table table and fixed the generation of rclt for PL variants.