As I understand it, if I copy a character from one font to another, or from one position to another in the same font, the character's hinting information will be lost. Is this correct?
Can I work around this by creating a composite glyph in a new position, then making it simple?
Are there any plans to add the option to sort glyphs in a font by mapping order?
Keeping Hinting Information
-
- Top Typographer
- Posts: 9878
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
-
- Moderator
- Posts: 11158
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
This is necessary since a glyph could also use global hinting data from the cvt, fpgm and prep tables. The Font Creator Program is not aware of the actual hinting information, so it is not possible to update those tables accordingly.As I understand it, if I copy a character from one font to another, or from one position to another in the same font, the character's hinting information will be lost. Is this correct?
Can I work around this by creating a composite glyph in a new position, then making it simple?
No, as soon as you change a glyph’s outline, the hinting data is lost. Glyphs with hinting data show an H in the upper left corner of the Glyph Edit window.
Right now "Sort glyphs by mapping (AutoSort)" has medium priority, like around 40 other items do, while there are 14 items with high priority.Are there any plans to add the option to sort glyphs in a font by mapping order?
-
- Top Typographer
- Posts: 9878
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Thank you for the prompt reply
I am not a great fan of hinting, but I hadn't realised that by editing the glyph outlines I would be removing hinting information. Good to know that, and also good to be reminded of the Hinting indicator.
The fonts I am currently editing were apparently generated automatically from poor quality scans. They have lots of unnecessary points and some very jagged curves.
Interesting to note that just moving a single point to remove hinting reduced file size by 28 bytes, while removing four excess points saved just 8 bytes.
General advice would seem to be "If a curve looks smooth, don't bother with removing excess points."
I look forward to glyph sorting, though with the glyph search option it becomes slightly less important. Sorting glyphs in order would make it a lot easier to spot differences, omissions, or errors.
The fonts I am currently editing were apparently generated automatically from poor quality scans. They have lots of unnecessary points and some very jagged curves.
Interesting to note that just moving a single point to remove hinting reduced file size by 28 bytes, while removing four excess points saved just 8 bytes.
General advice would seem to be "If a curve looks smooth, don't bother with removing excess points."
I look forward to glyph sorting, though with the glyph search option it becomes slightly less important. Sorting glyphs in order would make it a lot easier to spot differences, omissions, or errors.
-
- Top Typographer
- Posts: 117
- Joined: Sun Jun 08, 2003 9:46 pm
-
- Moderator
- Posts: 11158
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
This is only true when source and destination font are the same font, otherwise hinting information within the glyf table will not be copied.- When you copy and paste a complete glyph (or a number of glyphs) hinting is preserved.
What type of list do you have in mind?- As an alternative to glyph sorting it would be a nice feature if FC could produce a list of characters present in a font. This would make comparison even easier.
-
- Top Typographer
- Posts: 117
- Joined: Sun Jun 08, 2003 9:46 pm
-
- Moderator
- Posts: 11158
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
I'll add it to the todo list, although I’m not sure if this enhancement would serve a lot of users.I mean a list of Unicode code points assigned to glyphs within the font, preferably together with the glyph's number in the font.
...so my answer to Bhikkhu Pesala's initial question was not correct.You're right on the other issue: this is only true when copying within the font.