Page 1 of 1

Add a scripted/bulk version of "auto-complete code-points"

Posted: Thu Jul 12, 2018 6:14 pm
by nabsltd
I have run into some fonts with dozens of characters that have glyph names that match the outline (so the glyph is "correct") but no code point has been assigned.

Right now, the only way to fix this is to click on the glyph, click the "Auto-complete code-points based on glyph name" button in the glyph properties window, click "Apply", and repeat. I can't copy and paste the outlines and metrics into new empty glyphs that already have the right code points because the glyphs aren't in the right order.

It would be really nice to have any way to do this in bulk...like having the glyph properties window not become useless when multiple glyphs are selected. If this is too dangerous, transform commands to mimic the two auto-complete buttons in the glyph properties window would be fine.

Re: Add a scripted/bulk version of "auto-complete code-points"

Posted: Mon Feb 04, 2019 9:00 am
by Erwin Denissen
Right now there is indeed no way of auto generating codepoints. We'll add your request to the to-do list.

Re: Add a scripted/bulk version of "auto-complete code-points"

Posted: Tue May 07, 2019 4:46 pm
by Bhikkhu Pesala
There is now a way to do this in FontCreator 12, provided that the glyphs are correctly named.
  1. Select the unmapped glyphs
  2. Cut them to the clipboard (Ctrl+X)
  3. Select the next or previous glyph
  4. Click the Insert Glyphs button [G]
  5. Paste the glyph names to insert new glyphs before/after the selected glyph (or wherever you want them)
  6. Paste the glyph contours into the new glyphs.