Where is Auto Complete Code Points?
Where is Auto Complete Code Points?
There is a Remove Code points, but I cannot find anything that will complete the code points by glyph name other than clicking on every single glyph individually?
-
- Top Typographer
- Posts: 9874
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Where is Auto Complete Code Points?
The option does not exist, but there is a workaround.
If you right-click on a character set in the overview side panel, you can complete the character set, which will add blank characters with the correct code-points. You can copy these glyphs and use paste special to override existing code-points to add code-points to your unmapped glyphs then delete the empty glyphs that are now unmapped.
If you right-click on a character set in the overview side panel, you can complete the character set, which will add blank characters with the correct code-points. You can copy these glyphs and use paste special to override existing code-points to add code-points to your unmapped glyphs then delete the empty glyphs that are now unmapped.
-
- Top Typographer
- Posts: 977
- Joined: Tue Jun 16, 2015 8:12 pm
- Location: Sheffield, South Yorkshire
- Contact:
Re: Where is Auto Complete Code Points?
It would be nice if there was an option in the Glyph Transformer to 'insert codepoint from glyphname' and 'insert glyphname from codepoint', just a thought.
-
- Top Typographer
- Posts: 9874
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Where is Auto Complete Code Points?
If one uses Insert Character, glyphnames and code-points are automatically inserted. If glyphs with names, but without code-points already exist, empty glyphs with duplicate glyphnames and the correct code-points will be inserted. All that remains is to copy them to the glyphs with contours but without mappings. The hard part is ensuring that everything is in the right order before copying. Sorting the font by Unicode code-points is probably the way to go before inserting the new characters.
Re: Where is Auto Complete Code Points?
Bhikkhu, in some of my fonts there are over 150 characters with unmapped code points. I saw the trick on cutting and pasting but there is a flaw in it. If there is a single character that does not have a valid glyph name it causes it to fail at that character. So if you copy 150 characters and paste in all 150 names, it will stop at 75 if 75 is not a valid name.
As a programmer myself, it seems rather trivial to have a method that would call your auto code points routine for each selected character.
Workflow would be:
- Select Unmapped characters using the drop down under glyphs.
- Right click "Auto-Complete Codepoints by glyph name"
Thanks for hearing me out.
As a programmer myself, it seems rather trivial to have a method that would call your auto code points routine for each selected character.
Workflow would be:
- Select Unmapped characters using the drop down under glyphs.
- Right click "Auto-Complete Codepoints by glyph name"
Thanks for hearing me out.
-
- Top Typographer
- Posts: 9874
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Where is Auto Complete Code Points?
If some of your glyphs have invalid names it is probably a good idea to let FontCreator generate valid glyph names for you: Tools menu, Glyph Names, Generate.RickDe wrote: ↑Fri Oct 09, 2020 7:37 pmI saw the trick on cutting and pasting but there is a flaw in it. If there is a single character that does not have a valid glyph name it causes it to fail at that character. So if you copy 150 characters and paste in all 150 names, it will stop at 75 if 75 is not a valid name.
Re: Where is Auto Complete Code Points?
I see my major issues are due to double mapped characters. Things like macron being mapped to the codepoints for macron and macronmod. This causes issues with copy paste.
Re: Where is Auto Complete Code Points?
Also if you use the copy paste, you have to delete the existing characters. This removes the Kerning for those characters in the kerning table.
-
- Top Typographer
- Posts: 9874
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Where is Auto Complete Code Points?
If you use paste special you can paste just the code-points.