Class Kerning and Ligatures

Primary tabs

5 posts / 0 new
Last post
Nick Curtis's picture
Offline
Joined: 21 Apr 2005 - 8:16am
Class Kerning and Ligatures
0

It just came to my attention that class-based kerning isn't being applied to ligatures in a number of my fonts. Here's the class definition:

%%CLASS _i_right
%%GLYPHS i' fi ffi dotlessi iacute icircumflex idieresis igrave imacron iogonek itilde dottediacute
%%KERNING R 0
%%END

The fi and ffi glyphs are so named in the fonts, and swap out just fine. Any ideas?

Nick Curtis's picture
Offline
Joined: 21 Apr 2005 - 8:16am
0

Soooo...nobody else has encountered this problem? Bummer. I really had hoped to solve this problem before another pass through 900+ fonts to update them...

Jens Kutílek's picture
Offline
Joined: 12 Sep 2007 - 7:55am
0

FontLab's "right class" means that a class represents the right (second) partner of a kern pair. That means you should make this a left class. As it is now, fi will follow the kerning of i when it appears on the right hand side of a kern pair.

Nick Curtis's picture
Offline
Joined: 21 Apr 2005 - 8:16am
0

Thanks, Jens: did the trick. The solution was almost as simple as I am...

Nick Shinn's picture
Offline
Joined: 8 Jul 2003 - 11:00am
0

Anything is simple once you know how, as a sage once put it; however, I've found that forgetfulness can ruin that premise...