Flag glyphs where the bearings don’t match

I am working with the wdth axes, and have noticed that some glyphs aren’t surviving the transformations without having errors pop up in the Right Side Bearing (RSB) and character width (AW).

I would like to propose a warning flag that tells us when a layer has a different bearing value than the Master. This would make it easier to target bearings that need matching to the Master.

Composites are definitely the worst culprits for this one.

Even better: a shortcode that lets us match a layer’s bearing to the Master, kind of like base(), but it works across layers. So the Expanded version is set to have the same bearing as the Regular version, no matter how you apply a transformation to the glyph.

That might be something we can improve in the future. I wonder what other people think about this.

For now you could provide this in the AW field for the Expanded layer:
aw(glyphname,Regular)

So for character ya-cyrl use:
aw(ya-cyrl, Regular)