Tool to create GSUB table based on identical characters?
Roel Nieskens
Posts: 188
I have a font where both uppercase and lowercase have the same design. E.g. the CFF entries for "A" and "a" are exactly the same. Is there a way to avoid this duplication? I'm thinking of a tool that can create a GSUB table based on characters it finds are identical.
0
Comments
-
I've had to do this in a situation where I had a client who wanted needed extremely detailed textured fonts. So detailed that the font was teetering of the edge of crashing. I created blank glyphs for the lowercase and two classes:
@upper: ABCDEFG...
@lower: abcdefg...
feature whatever {
sub @lower by @upper;
} whatever;
I'm not sure what feature I'd use if I were to do it again. My client wanted it in liga so that's what I used.0 -
That looks simple enough, thanks. I'm used to working in TTX. What tool/language is your example in?0
-
It seems I was overcomplicating — I blame a lack of coffee! It seems the much saner and simpler solution is to use the CMAP table for its intended purpose:
<map code="0x41" name="A"/><!-- LATIN CAPITAL LETTER A —>
<map code="0x61" name="a"/><!-- LATIN SMALL LETTER A —>Should be changed to<map code="0x41" name="A"/><!-- LATIN CAPITAL LETTER A —>
<map code="0x61" name="A"/><!-- LATIN SMALL LETTER A —>Automating this is a lunch-break worth of scripting
1 -
Agree that CMAP is the way to go; Ray's example is in Adobe Feature File Syntax1
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