Using Rename Glyphs parameter on non-exporting glyphs sets them to export

Hello, I have a Rename Glyphs parameter that reads: *.ss01=*. In my glyphs, I have components such as _curve.ss01, which is just a component I use in some glyphs. It is set to non-exporting.

However, it is included in the exported files as _curve.

Is this on purpose?

I think so. If glyphs are “switched in” by a Rename parameter, usually one likes to have them in the font. It should check at least for the underscore.

Thanks. At least checking for underscore prefixes would be be great. I could of course just rename the glyph, but that would mean losing the entire version history for the glyph.

If you just rename the file, git is usually clever enough to keep the history by.

Hmm, doesn’t look like it:

Tower shows this as “moved”.

You can use a second parameter Remove Glyphs with _* as value.

Move and rename detection is a slow operation and can produce false positives which is why many Git clients avoid them. Tower only performs them for staged files.

Makes sense, thanks for the explanation.

Thanks Rainer, that’s a good idea.