How to fix jagged diagonal lines?
user9812
Posts: 7
I'm trying to create tally marks in my font. The problem lies with the '5' symbol (4 vertical lines with a strike through). The strike through is so jagged! It needs to look like a diagonal line but it looks more like a set of stairs.
I'm using FontForge. I can't go to the smoothing option because that applies to the whole font (unless there's a way to have it only apply to one character?). I've tried removing hinting and instructions. I've tried changing the angle of the line. Nothing seems to work. I'm almost to the point of being convinced it can't be fixed because it's just the way the font works.. it wants to place any line < 45 degrees onto a pixel. It doesn't want to do anti aliasing. Is there a way to force it to anti aliase for just one character/glyph?
I'm using FontForge. I can't go to the smoothing option because that applies to the whole font (unless there's a way to have it only apply to one character?). I've tried removing hinting and instructions. I've tried changing the angle of the line. Nothing seems to work. I'm almost to the point of being convinced it can't be fixed because it's just the way the font works.. it wants to place any line < 45 degrees onto a pixel. It doesn't want to do anti aliasing. Is there a way to force it to anti aliase for just one character/glyph?
Tagged:
0
Comments
-
no
But aside from that you have not given us important information needed to address the underlying question of why it is “so jagged.”
The font rendering is massively depending on the rendering environment. Are you on Windows, Mac, Linux or something else? What app(s) are you looking at the font rendering in? If Windows, what version of Windows?
0 -
google chrome0
-
the visual effect you describe is an optical distortion which occurs always which such shapes, even without a pixel rendering. Maybe you try a treatment of the glyph’s geometry?
5 -
Ah. I see, yes, you are talking about an optical illusion and not a rendering issue at all.1
-
Further to Andreas’ “optical” correction—perhaps some form of “ink trap” would be better?0
-
I don’t find an optical illusion in the form on the left in Andreas’ illustration, and instead perceive the stepped segments in the adjusted form on the right. The optical illusion in which a diagonal crossing a stem can appear discontinuous occurs when the stems are of different thicknesses, e.g. in the Polish ł. In this case, the stems are of similar thickness, so the diagonal appears continuous without the need to segment it.
2 -
This optical effect (I hesitate to use the term “illusion”) is subjective. In other words, one might not notice it unless one were looking for it, and even then different people react differently.
However, John, you and I should really provide visual examples to further our observations.0 -
I was using Andreas’ visual examples as a reference. The forms on the left do not look jagged to me, while those on the right do, and based on my experience I would say this is because the strokes are of similar thickness, and hence the thickness of the verticals does not affect the optical continuity of the straight diagonal.
If we increase the contrast between the stroke thicknesses, then the diagonal looks discontinuous and jagged, and would need adjustments to appear continuous:
1 -
The distance between the uprights also affects the visual continuity of the diagonal when the strokes are of different thicknesses, meaning that any adjustment to compensate for the visual effect needs to take into account the distance as well as the stroke thickness.
1
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 803 Font Technology
- 1K Technique and Theory
- 622 Type Business
- 444 Type Design Critiques
- 542 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 485 Typography
- 303 History of Typography
- 114 Education
- 68 Resources
- 499 Announcements
- 80 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 270 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports