Working with Glyphs»
- Working with Glyphs
Copy-pasting using drag-drop»
The quickest way to copy-paste glyphs is using the drag-drop method. It can be especially handy when copying glyphs from one font and pasting them to another one, because it is visual. To copy-paste glyphs using the drag-drop method, follow these steps:
- Select one or several glyphs.
- Position the mouse cursor on the selection.
- Press the mouse button and hold down the Alt key.
- Now drag the selection to the place where you want it to be copied.
- Release the mouse button, making sure that the Alt key is still pressed.
Duplicating Unicode codepoints»
In FontLab you may assign more than one (up to 63, actually) Unicode codepoints to a glyph. Visually this means that a glyph that has several Unicode indexes will appear several times when one of the filter modes (Encodings, Ranges or Codepages modes) is selected in the Font window:
But if you switch the Font window to the Index mode you will see only one glyph entry.
To make several characters based on a glyph, select it and enter additional Unicode codepoints separated by a comma in the Glyph Info panel:
To move glyphs in the Font window or Font Map:
- Select the glyphs that you want to move.
- Position the mouse cursor on the selected glyphs.
- Press the mouse button.
- Drag the glyphs to the new position. Release the button to complete the process.
If you move glyphs over the cells of existing glyphs, you will see a dialog box prompting you to choose whether to replace the existing glyphs or save them by renaming:
Leave Keep replaced symbols under new names checked to save the glyphs (I.e. put the new glyphs in the cells and move the existing glyphs to cells at the end of the encoding) or clear it to replace them (I.e. delete the existing glyphs).
Note that even if source selection is not continuous the destination selection will be continuous:
If you are working in the Codepages, Unicode or Encoding mode, when you move glyphs they automatically get new names and Unicode codepoints. The source glyph cells become empty.
If you are working in the Index mode, moving glyphs is used to manually rearrange their physical sequence in the font. That is what the index is: the order of the glyphs in the final generated font file. When you move glyphs in Index mode, glyphs are never replaced, just re-ordered—they do not replace the glyphs at the destination location but instead the moved glyphs are inserted in front of the existing glyphs. The names and Unicode codepoints of the moved glyphs are unchanged. What is changed is the glyph index. To rearrange the physical sequence automatically, use the Font > Sort Glyphs menu.
Usually it is not necessary to manually rename glyphs, because their names and Unicode codepoints are assigned automatically when you move glyphs in the Font window, and these are generally correct. But if you want to see glyph names and codepoints and change one or both, either on single glyphs or a batch, select the Rename Glyph command from the Glyph menu. You will see this dialog box:
In the top part of the dialog box you see the current name and Unicode codepoint (indexes) of the glyph. In the middle there are two edit fields where you may change the information. Below them lie the options controls.
To change a glyph’s name enter a new name in the field. If this glyph has a properly assigned Unicode codepoint and you want to find the name mapped to that index in FontLab database press the Auto button to the right of the edit field and FontLab will fill in the New name field for you.
If the option Replace existing glyphs with the same name is not checked, then if you enter a name that is already assigned to one of the font’s glyphs, the Rename button will be disabled and you will not be able to assign that name. Switch the option on to allow FontLab to replace glyphs. Use the next option to control how FontLab does the replacement.
Use the New Unicode edit field to change a glyph’s Unicode codepoint(s). You may enter more than one Unicode codepoint separated by a space: this will cause the glyph to be associated with multiple codepoints. Use the Auto button to find the Unicode codepoint(s) mapped to a glyph’s name in FontLab’s database.
You might want the same glyph to get more than one codepoint when several codepoints need the same shape and metrics. For example, perhaps the Latin cap A, Cyrillic cap A, and the Greek cap Alpha all share the same shape. If you wanted to use the same shape but space them differently, you could use the same Element in multiple glyphs.
Rename glyph in OT features and classes – this option will automatically change the glyph name in OpenType classes that contain the glyph name, and in OpenType feature text.
Rename glyph in kerning pairs and classes – this option will automatically change the glyph name in kerning classes that contain the glyph being renamed and in the ‘kern’ feature text.
Press the Rename button to assign a new name to the glyph. You may see the glyph may move to a new place in the Font window, depending on the currently selected encoding vector, Unicode range or codepage.
If you want to rename more glyphs in sequence, instead press the Rename Next Glyph button. A new name will be assigned to the current glyph (as if you had pressed the OK button) and data from the next glyph will appear for editing.
Renaming by Adding a Suffix»
The “suffix” is the portion of a glyph name after a period. To rename glyphs by either adding a new suffix or changing the existing glyph name suffix, first select glyph cells. Then choose Font > Add Suffix to Name. Enter new suffix or select the name of the OpenType feature to pick up the suffix from the list. Check the Replace existing suffix checkbox if you need to replace old suffix with the new one.
To remove glyphs from the font, in the Font window or Font Map panel:
Select the glyphs that you want to remove.
Select the Delete command from the Edit menu or press the Backspace (or Del) key on the keyboard.
A dialog box appears asking you if you are sure that you want to delete the glyphs.
Deleting glyphs from the font is now undoable, but better save your work before deleting glyphs.