The Sort Glyphs sheet offers different methods to sort the glyphs in a font.
When the OK button is pressed, the selected sorting method is applied to the font’s glyph order, which is stored in the font.
To define the default sorting order for new fonts, use the Sorting Preferences.
Glyph sorting methods
The Smart Sort method uses a default sorting algorithm which combines matching rules with some preset values.
The Character Set method allows you to choose one of the character sets saved in the Preferences to sort the font.
The Custom… option allows you to create your own sorting method by combining different sort descriptors.
The table below provides more information about each sort descriptor:
|unicode||Sort based on Unicode value.|
|script||Sort based on Unicode script.|
|category||Sort based on Unicode category.|
|block||Sort based on Unicode block.|
|suffix||Sort based on glyph name suffix.|
|decompositionBase||Sort based on the base glyph defined in the decomposition rules.|
Sort based on glyph names suffix.
The ordering of the suffixes is based on the calculated “weight” of the suffix, which is calculated by noting what type of glyphs have the same suffix. The more glyph types, the more important the suffix.
Additionally, glyphs with suffixes that have only numerical differences are grouped together. For example,
|ligature||Sort into to groups: non-ligatures and ligatures. The determination of whether a glyph is a ligature or not is based on the Unicode value, common glyph names or the use of an underscore in the name.|
The following options are available for each individual sort descriptor:
- Boolean representing if the glyphs should be in ascending or descending order.
- Allow pseudo unicode
- Boolean representing if pseudo- or real Unicode values are used.