Advance widths for C0 Control glyphs
Options

James Montalbano
Posts: 118
What are the recommendations for the widths on U+0000 thru U+001F?
Sometimes Fontlab creates a zero width glyph and sometimes it applies a 333 unit width.
I appreciate any guidance on this.
Sometimes Fontlab creates a zero width glyph and sometimes it applies a 333 unit width.
I appreciate any guidance on this.
0
Comments
-
Most of the C0 control characters do not need to be included as glyphs in fonts.
The original Apple TrueType specification recommended that the first three glyphs in a font be
.notdef
NULL (0x0000)
CR (0x000D)
and this was carried over into Microsoft’s version of the spec that became OpenType. 0x0000 and 0x000D are the only C0 control character glyphs that are commonly encountered in fonts, and these are omited from a lot of OT fonts now, especially CFF flavour fonts. [I still tend to include them just out of habit and awareness of just how long legacy dependencies tend to lurk in software.]
0x0000 should be zero width
0x000D should be equal to the /space glyph width
0 -
I ask because a client is asking for Line Feed 0x000A to be included.0
-
My guess would be that U+000A should be treated like U+000D and inherit the /space glyph width.
I just tried creating a set of all C0 control characters in FontLab, and most were either 333 units wide of 307 units wide. My inclination is that any that are 333 units wide should probably inherit the /space glyph width, and the others should be zero-width.0 -
Thank you John0
Categories
- All Categories
- 46 Introductions
- 3.8K Typeface Design
- 476 Type Design Critiques
- 555 Type Design Software
- 1.1K Type Design Technique & Theory
- 640 Type Business
- 831 Font Technology
- 29 Punchcutting
- 508 Typography
- 120 Type Education
- 313 Type History
- 75 Type Resources
- 109 Lettering and Calligraphy
- 30 Lettering Critiques
- 79 Lettering Technique & Theory
- 533 Announcements
- 86 Events
- 110 Job Postings
- 167 Type Releases
- 169 Miscellaneous News
- 274 About TypeDrawers
- 53 TypeDrawers Announcements
- 119 Suggestions and Bug Reports