Hello, looking for help with TrueType hinting
pthomas505
Posts: 54
Hello,
I am hoping to find help understanding how to hint a font that I started work on a long time ago. The design is very simple and minimal. It is monospace, sans-serif, and all of the stem widths are the same. Every line is straight and at an angle of 0 degrees, 45 degrees, or 90 degrees. It is intended for use without grayscale or color antialiasing.
I recently put the work that I have done to date in a public GitHub repository here: https://github.com/pthomas505/fonts and the current iteration of the design is here: https://github.com/pthomas505/fonts/tree/main/fonts/family_name/monospace/size1/design_2.
I am attempting to do the hinting with TrueType, preferably on Linux, but I am also open to using Windows. I have played around with xgridfit and Microsoft Visual TrueType, and a long time ago with FontLab. The biggest difficulty that I am having is figuring out how to get the diagonal stem widths to match the horizontal and vertical stem widths as closely as mathematically possible at every point size.
Is this an appropriate place to look for assistance with this kind of question, or if not, could someone maybe point me to one that is?
Thank you kindly for your time.
I am hoping to find help understanding how to hint a font that I started work on a long time ago. The design is very simple and minimal. It is monospace, sans-serif, and all of the stem widths are the same. Every line is straight and at an angle of 0 degrees, 45 degrees, or 90 degrees. It is intended for use without grayscale or color antialiasing.
I recently put the work that I have done to date in a public GitHub repository here: https://github.com/pthomas505/fonts and the current iteration of the design is here: https://github.com/pthomas505/fonts/tree/main/fonts/family_name/monospace/size1/design_2.
I am attempting to do the hinting with TrueType, preferably on Linux, but I am also open to using Windows. I have played around with xgridfit and Microsoft Visual TrueType, and a long time ago with FontLab. The biggest difficulty that I am having is figuring out how to get the diagonal stem widths to match the horizontal and vertical stem widths as closely as mathematically possible at every point size.
Is this an appropriate place to look for assistance with this kind of question, or if not, could someone maybe point me to one that is?
Thank you kindly for your time.
0
Comments
-
you might find some answers at rastertragedy.com0
-
there is this article also for hinting italics in VTT https://learn.microsoft.com/en-us/typography/truetype/italic-hinting-examples
0 -
Jan Šindler did some great work on hinting for monochrome using VTT, for his bachelor work, I dont think it is published anywhere, but he may have some ideas.
0 -
Also mike's own https://googlefonts.github.io/how-to-hint-variable-fonts/ project0
-
Also check out Peter Baker’s recent YGT tool:
https://typedrawers.com/discussion/4622/a-new-graphical-editor-for-truetype-hints/
0 -
Thank you all for the suggestions. I tried the YGT tool recently, and have looked at those articles in the past, but I haven't read them closely through in their entirety.0
-
Just to make sure, you started with the bitmap fonts and now want to have a TrueType (outline) font hinted to match the bitmap fonts as closely as possible?0
-
I would probably try to draw the diagonals like this, so you have your diagonal width right there measured along the blue lines. Then, when you set the projection and freedom vectors to the 45° line, you can control the width of the diagonals directly, and independently of the vertical and horizontal elements.
2 -
That is a clever approach! I will give it a try. Thank you!
0 -
I found and modified some Xgridfit code from a while back (attached) that seems to work to make the diagonal stem change width at the same time that the horizontal and vertical stems do. I'm not sure if there is a way to maybe replicate this in something like VTT, because I think typing out the Xgridfit code by hand is going to be more time intensive than I would prefer.
0 -
It has been a long time since I used VTT to control diagonals for Black and White rendering. There was some old code used Vacuformround I think it was called, but I am not even sure if it supported still. If you are looking for a technical discussion and possible answers, Greg Hitchcock at Microsoft might be able to help you, and Jan Sindler also did a project very similar to this, and may also have some ideas.0
-
Thank you.
0 -
Wasn’t Vacuformround for creating regularized/symmetrical patterns at low ppem for round-“ish” (but not necessarily perfectly symmetrical left/right or top/bottom) input glyphs such as O, o and 0?
I will admit it has been almost 30 years, so I might be remembering that incorrectly. I bet Greg knows!0 -
Thomas Phinney said:Wasn’t Vacuformround for creating regularized/symmetrical patterns at low ppem for round-“ish” (but not necessarily perfectly symmetrical left/right or top/bottom) input glyphs such as O, o and 0?
I will admit it has been almost 30 years, so I might be remembering that incorrectly. I bet Greg knows!0 -
Ah, I see. Yes, the curves would often come out as straight diagonal bits at low-middling ppem sizes, such as when an o or O was 8-12 pixels high.0
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 798 Font Technology
- 1K Technique and Theory
- 617 Type Business
- 444 Type Design Critiques
- 541 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 483 Typography
- 301 History of Typography
- 114 Education
- 68 Resources
- 498 Announcements
- 79 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports