‘Keep Alternates Next to Base Glyph’ scriptable?

Is the property ‘Keep Alternates Next to Base Glyph’ scriptable? I can’t find it in the docs.

It’s not part of the Python wrapper, so you have to use the Objective-C interface:

someFont = Font
# enable
someFont.setKeepAlternatesTogether_(True)
# disable
someFont.setKeepAlternatesTogether_(False)
# check
isEnabled = someFont.keepAlternatesTogether()

Ah, nice!

By the way, it would be nice to have an option to handle letters and numbers differently.

While kerning a font, it is perfect to have an alternative double storey “g” beside the single storey. But to have all “zeros” in a line, is pretty much senseless here.

Maybe this and other sort possibilities as a smart filter option?

Sorting and smart-filtering are two different things. However, you can have your own sorting with your own List filter.