SOLVED Is there any way to track what character set was used in sorting?
-
I would like to add some custom python operation to sorting the font with the character set. Is it possible to track what character set was used during the last sorting operation?
-
thanks! :)
-
UI wise its clear when you select 'Character Set'
with a script:
from mojo.UI import getDefault charsets = getDefault("charsets", {}) f = CurrentFont() for description in f.lib["com.defcon.sortDescriptor"]: if description.get("type") == "characterSet": key = description.get("ascending") if key: print(charsets.get(key, []))