FIXED] Error Generating Hinting for Complex Glyph
-
- Top Typographer
- Posts: 9877
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
FIXED] Error Generating Hinting for Complex Glyph
When exporting the attached font project to TTF/OTF, I got the error message about Autohinting. Apparently glyph $2328 is too complex because if I make it empty, the error disappears. I already ran the font validator — there were no errors detected.
- Attachments
-
- Jivita Bold.fcp
- (224.92 KiB) Downloaded 327 times
-
- Top Typographer
- Posts: 9877
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Error Generating Hinting for Complex Glyph
There's an ini file for the Autohinter in the FontCreator program folder, but I don't know which to change. Increasing the hinting-limit to 500 made no difference.
Code: Select all
[autohinting]
latin-fallback=false
hinting-limit=200
ignore-restrictions=true
hinting-range-min=8
hinting-range-max=50
no-info=true
strong-stem-width=G
increase-x-height=14
; You can add additional parameters here
extraparams=
-
- Top Typographer
- Posts: 9877
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Error Generating Hinting for Complex Glyph
Other fonts, like Pali Bold, with the exact same glyph, don't trigger this error.
-
- Moderator
- Posts: 11158
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Error Generating Hinting for Complex Glyph
I suggest you contact Werner Lemberg as he is the developer of ttfautohint which is the TrueType Automatic Hinter used by FontCreator.
He continues to improve the utility, and I'm sure he will look into this.
He continues to improve the utility, and I'm sure he will look into this.
-
- Top Typographer
- Posts: 9877
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Error Generating Hinting for Complex Glyph
One of the Initial Forms had a contour overlapping. However, because the glyph was too complex, the Validation toolbar didn't find the error. When I increased the Validation limits, I found the error, fixed it, and then managed to export the font with hinting.
Why deleting the keyboard glyph should have stopped the hinting error from happening, I have no idea, but it lead me astray.
Edit: I spoke too soon. It has started generating the error again.
Why deleting the keyboard glyph should have stopped the hinting error from happening, I have no idea, but it lead me astray.
Edit: I spoke too soon. It has started generating the error again.
-
- Top Typographer
- Posts: 9877
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Error Generating Hinting for Complex Glyph
I did eventually find a satisfactory workaround:
- Export the project with Autohinting after making the Technical Symbols keyboard glyph empty
- Undo make empty, and save the project again
- Open the autohinted font
- Copy the keyboard glyph from the saved project to the autohinted font
- Export As TrueType keeping the original hinting
-
- Moderator
- Posts: 11158
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Error Generating Hinting for Complex Glyph
The most creative work-around I've ever heard of
-
- Top Typographer
- Posts: 9877
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Error Generating Hinting for Complex Glyph
I did eventually get around to contacting him and got this reply:Erwin Denissen wrote:I suggest you contact Werner Lemberg as he is the developer of ttfautohint which is the TrueType Automatic Hinter used by FontCreator.
He continues to improve the utility, and I'm sure he will look into this.
If anyone has the brain-power to understand autohinting, this discussion may give some tips on getting the best results out of ttfautohinter.exeWerner Lemberg wrote:And now actually using the 1.1 binary of ttfautohint I can reproduce the crash. This has been fixed already in the git repository; I hope to make a new release in mid-September.
-
- Moderator
- Posts: 11158
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Error Generating Hinting for Complex Glyph
That is good news.
-
- Top Typographer
- Posts: 9877
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Error Generating Hinting for Complex Glyph
Were you able to find the updated binary for autohinter.exe to install with FC8.1 ?
-
- Moderator
- Posts: 11158
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Error Generating Hinting for Complex Glyph
I haven't looked for it yet, as the final release of FontCreator 8.1 is not ready yet.