Tri-state kerning in Firefox involving /space (bug or feature?)
Adam Jagosz
Posts: 689
I have a problem with kerning in Firefox. I decided to give the letters with vertical caron negative kerning against round x-height letters (which works as expected), and then I thought it would be nice to include a slight negative kerning against space. The thing is—when I rely on browser defaults for font-feature-settings, Firefox applies the kerning for the first case but ignores the case with space. When I explicitly turn on kerning, space is kerned with the caron letters correctly. Which means the kerning for my font in Firefox can be: on, off, or ‘just a bit off’ 
In Chrome the space is not kerned at all even when kerning is explicitly enabled.
Everything works fine in Word, InDesign, Edge (which doesn't turn kerning on by default, so no tri-state experiments are possible).
I suppose this has to do with space being a multiscript character?

In Chrome the space is not kerned at all even when kerning is explicitly enabled.
Everything works fine in Word, InDesign, Edge (which doesn't turn kerning on by default, so no tri-state experiments are possible).
I suppose this has to do with space being a multiscript character?
0
Comments
-
It might also be because some layout engines treat the space as a character that breaks the text run. I suspect that as a result they simply don’t process the space in OpenType layout, including kerning
(I know for sure that one of Adobe’s layout engines do or at least formerly did this, a subject of some frustration for me.)0 -
That sounds like a bug in Firefox and Chrome. I’m pretty sure their expected behavior is that if the font has any lookups that apply to space, then the optimization that splits words at space should be disabled.
0
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 811 Font Technology
- 1.1K Technique and Theory
- 628 Type Business
- 449 Type Design Critiques
- 547 Type Design Software
- 30 Punchcutting
- 137 Lettering and Calligraphy
- 84 Technique and Theory
- 53 Lettering Critiques
- 493 Typography
- 307 History of Typography
- 115 Education
- 71 Resources
- 505 Announcements
- 81 Events
- 106 Job Postings
- 151 Type Releases
- 166 Miscellaneous News
- 271 About TypeDrawers
- 53 TypeDrawers Announcements
- 117 Suggestions and Bug Reports