I’m trying to replace the combining lowline glyph with one that has a width corresponding to the preceding glyph’s width. I generate the feature code for the rclt
feature based on the layer width:
sub [$[layer0.width==224]] lowlinecomb' by lowlinecomb.224;
sub [$[layer0.width==288]] lowlinecomb' by lowlinecomb.288;
sub [$[layer0.width==320]] lowlinecomb' by lowlinecomb.320;
sub [$[layer0.width==384]] lowlinecomb' by lowlinecomb.384;
sub [$[layer0.width==416]] lowlinecomb' by lowlinecomb.416;
sub [$[layer0.width==480]] lowlinecomb' by lowlinecomb.480;
sub [$[layer0.width==512]] lowlinecomb' by lowlinecomb.512;
etc.
This only seems to work in the variable font export. Is this a known issue?