The Classes panel Window > Panels > Features helps you define, view and edit the OpenType and kerning classes in your font.
This panel contains a local toolbar, list of classes, status bar and three view modes: Preview area, Table area and List sidebar.
On the toolbar there are several buttons and fields:
* Hamburger menu can be used to access the panel’s local menu, which includes commands for classes import, creation, and other services
* All classes is the default selection of the menu to filter what classes or tags are shown in the list. You can choose between all classes, first kerning classes, second kerning classes, first and second kerning classes, OpenType classes, tags and virtual tags.
* Filter field can be used to type in a class name to quickly find it
* Name field is for renaming rename classes and tags. Select a class or tag in the list on the left, and type in a new name in this field.
* Flag options to assign colors to classes
* Preview area button toggles the preview of all glyphs included in the selected class or tag group
* Table area button toggles the table of glyph cells included in the selected class or tag group
* List sidebar button toggles the list of glyph names included in the selected class or tag group
On the left of the status bar under the list of classes, apart from showing the total number of classes and/or tags, there are two buttons: + creates new class or tag and – - removes the selected class(es) or tag(s). On the right, the status bar shows the number of glyphs in the selected class or list, along with the buttons to increase/decrease the size of cells in the Preview Area and a menu, where you can select whether you would like to see the name, unicode or character in the List Sidebar. In addition, the + button lets you add the current glyph to the selected tag or class.
There are three view modes in the Classes panel controlled by the following buttons:
The Preview area shows the preview of all glyphs included in the selected class(es), and can be opened by clicking on the button in the local toolbar.
This mode is useful for previewing kerning classes. To preview kerning classes in this mode, select the first (left) kerning class and then Cmd-click to select the second (right) kerning class, or select the same classes in the Kerning panel. Because the Classes preview and Kerning panel work in sync, when you select a pair of kerned classes in the Kerning panel, it is shown in the Preview area of the Classes panel. Both classes will appear in the Preview area, and if kerning is defined for them, it will be applied to the preview:
The Table area shows glyphs belonging to the selected class(es) as cells along with their names, and can be opened by clicking on the button in the local toolbar.
This mode is useful for previewing OpenType classes that are being used for substitution rules. If two or more classes are selected, glyph cells from the selected classes are shown overlapping in the cells. This makes it easy to verify that classes for substitution have the same set of glyphs.
To import classes from another open font, select the Import submenu in the panel’s local menu. This submenu contains names of all opened fonts:
Selecting one of the fonts opens a dialog box, where you can choose what classes will be imported and how existing classes will be dealt with:
Defining a new class or tag»
To define a new tag or class, click on the + button below the list of classes on the left of the panel. Clicking on this button brings up a dropdown menu where you can select whether you want to add a 1st Kerning Class, 2nd Kerning Class, OpenType Class or Tag. Select the option you need. Once you do that, a new class or tag with a default name will be created, with the glyphs selected in the Font Window as its members.
Kerning classes are already marked in the Classes panel. If a class has the icon on its left, it is the 1st kerning class, and the icon on the right means that it is the 2nd kerning class. In addition to these icons, you can assign color marks to classes to differentiate them from one another using the Flag options in the local toolbar:
The result of marking glyphs looks like this:
Removing classes and tag groups»
To remove a class or tag group, select it in the list and click on the – button.
To remove all classes, click on the local menu button and choose the Remove All Classes command. It will remove classes but leave the tags intact.
Note that virtual tags cannot be removed at all.
Generating kerning classes automatically»
FontLab VI can automatically generate kerning classes for you if you would like. Click on the local menu button in the Classes panel to open the menu and choose the Generate Kerning Classes command: