GSUB: replace by nothing, a.k.a. deleting a glyph.
 
            
                
                    Roel Nieskens                
                
                    Posts: 203                
            
                        
            
                    Is there some way to do the following? 
                
                <div>lookup ccmp {
</div><div>    sub A B' C by [];
</div><div>} ccmp;</div><div><br></div>Where the orginal glyph for B is simply removed. Or in other words, replaced by nothing.
        
I tried leaving out the "by" part, replacing with [] or "", and scoured the afdko documentation but nothing will compile.
Or is this simply not possible?
I tried leaving out the "by" part, replacing with [] or "", and scoured the afdko documentation but nothing will compile.
Or is this simply not possible?
0          
            Comments
- 
            Perhapssub A' B' C by A; will work.3
- 
            Thanks, Jens. But how would you solve the following?sub A by []; # This doesn't compile Edit, I'm seeing this being done in some ttx, like here: https://github.com/googlefonts/noto-emoji/blob/833a43d03246a9325e748a2d783006454d76ff66/NotoColorEmoji.tmpl.ttx.tmpl#L330 0
- 
            I think it may not be possible in high-level editors. Neither the FDK syntax nor VOLT seem to support substitution by "no glyph". I tried to export a .fea file from NotoColorEmoji via OTMaster, and it throws an error due to empty target sequence.
 Do you actually need to remove the glyph, or could you replace it by a zero-width glyph with no outline instead?3
- 
            By the looks of the commit message it was to work around a specific issue, in combination with custom tooling. That's that mystery solved, I suppose.
 Your first solution helps me out in my case. Thanks again, Jens!0
- 
            Even though the OpenType specification prohibits it, FontCreator allows you to define entries in a multiple substitution lookup with no output glyphs. This is a trick to delete glyphs, and seems to be supported by Windows and web browsers.lookup MultipleSubstitution1 {<br>  sub A -> "<delete>";<br>}
 5
Categories
- All Categories
- 46 Introductions
- 3.9K Typeface Design
- 485 Type Design Critiques
- 560 Type Design Software
- 1.1K Type Design Technique & Theory
- 654 Type Business
- 853 Font Technology
- 29 Punchcutting
- 519 Typography
- 119 Type Education
- 323 Type History
- 77 Type Resources
- 112 Lettering and Calligraphy
- 33 Lettering Critiques
- 79 Lettering Technique & Theory
- 550 Announcements
- 91 Events
- 114 Job Postings
- 170 Type Releases
- 174 Miscellaneous News
- 276 About TypeDrawers
- 54 TypeDrawers Announcements
- 120 Suggestions and Bug Reports

