How to Duplicate a Glyph Slot in FontForge
Duplicating a glyph slot entirely within FontForge allows you to create new variants, accented characters, or backup copies of existing shapes without starting from scratch. This article provides a straightforward walkthrough on how to fully clone an existing glyph—including its contours, advance width, layers, and hints—into a new or empty glyph slot using standard FontForge commands.
Step 1: Locate and Select the Source Glyph
- Open your font project in FontForge.
- In the main Font View window, scroll through the grid to find the glyph you want to duplicate.
- Click on the glyph slot once to select it.
Step 2: Copy the Source Glyph Data
- With the source glyph selected, navigate to the top menu and select
Edit > Copy (or press
Ctrl + Con Windows/Linux,Cmd + Con macOS). - FontForge will load all data associated with that slot—including foreground outlines, background layers, instructions, and advance metrics—into the clipboard.
Step 3: Choose the Target Glyph Slot
- In the Font View window, locate the target slot where you want the duplicate glyph to reside. This can be an empty, unassigned slot or a pre-defined Unicode slot.
- If you need a new slot that does not currently appear in the encoding, go to Encoding > Add Other Encoding Slots... and specify the number of slots to add.
- Click on the destination slot to highlight it.
Step 4: Paste the Duplicate Glyph
- Go to the top menu and click Edit > Paste (or
press
Ctrl + Von Windows/Linux,Cmd + Von macOS). - The entire contents of the original glyph slot are now copied into the destination slot. This creates an independent duplicate of the vectors, meaning any future edits made to the duplicate will not alter the original.
(Note: Do not use Edit > Paste Into or Edit > Paste Reference if your goal is an independent duplicate, as references link back to the parent glyph and will mirror its changes).
Step 5: Update the Glyph Information
- With the newly created duplicate slot selected, go to
Element > Glyph Info... (or press
Ctrl + Shift + I/Cmd + Shift + I). - Under the PS Names tab, rename the glyph to a unique name to prevent postscript naming conflicts.
- If necessary, assign a new Unicode value or leave it unencoded depending on your font's intended architecture.
- Click OK to save the changes.