- Search expressions
- Saving Search Queries as Smart Sets
The Font Overview contains a Search Glyph bar for creating search queries and finding glyphs in a font.
In Multi-Window mode, users can toggle the Search Glyph bar with the View buttons in the Font Overview’s toolbar:
In Single Window mode, the View buttons are located at the bottom of the window:
In both modes, the Search bar can also be toggled with the keyboard shortcut ⌘ + F.
A search query is made out of one or more search expressions, combined with a boolean operator. Search expressions can be built using different types of glyph data and conditions.
To add a new search expression to the query, click on the + at the right of the Search Glyph bar.
The types of glyph data supported by search expressions are the same which are shown in the header of the table of the Font Overview in List Mode.
|Width||Glyph width.||integer or float|
|Left sidebearing||Glyph left sidebearing.||integer or float|
|Right sidebearing||Glyph right sidebearing.||integer or float|
|Contours||Amount of contours in the glyph.||integer|
|Components||Amount of components in the glyph.||integer|
|Anchors||Amount of anchors in the glyph.||integer|
|Components names||A comma-separated list of the base glyph names of all components in the glyph.||list|
|Anchor names||A comma-separated list of all anchor names in the glyph.||list|
|Empty||A bool indicating if the glyph is empty.||bool|
|Glyph changed||A bool indicating if the glyph has been changed since the last saved version.||bool|
|Template||A bool indicating if the glyph is a template glyph.||bool|
|Mark Color||The mark color of the glyph.||color|
Each type of data offers a set of filtering conditions which can be used in the search expression.
Search expressions can be combined using boolean operators.
|All||AND||Show glyphs which match all queries.|
|Any||OR||Show glyphs which match at least one query.|
|None||NOT||Show glyphs which don’t match any query.|
The matches condition (available for glyph names and mark colors) supports regular expressions. Regex is useful for creating smarter, more compact search expressions.
- Lists all lowercase glyphs.
- Lists all uppercase glyphs.
- Lists all 52 uppercase and lowercase glyphs.
- Lists all lowercase glyphs containing these accents.
Saving Search Queries as Smart Sets
Search queries can be saved as Query-based or List-based Smart Sets using the two buttons at the top of the Search Glyphs bar.
|Selection to Set||
Save the selected glyphs as a List-based Smart Set.
List-based Smart Sets display glyphs based on a static list of glyph names.
Save the current query as a Query-based Smart Set.
Query-based Smart Sets search the font dynamically, so the result is updated based on changes in the font.