Naming of kerning classes

Nick Shinn
2.Jun.2008 12.54pm
Nick Shinn's picture

What is the reasoning behind kerning class names in the manner of:

_LAT_LC_a

Is the “2” necessary here:

_LAT_LC_a2_RIGHT

...wouldn’t that interfere with alternates, eg:

_LAT_LC_a2.alt1_RIGHT



k.l.
2.Jun.2008 2.12pm
k.l.'s picture

Hello Nick!
It depends what you want to do with classes. If you use e.g. the AFDKO’s kern feature generation macro, then it needs some identifiers in the class name indicating if a class is a leftside or rightside class (’_RIGHT’ or ’_LEFT’ or absence of them if the class is used on both sides), or if it covers glyphs of a specific script (like ’_LAT’ in your example).
For example, I use a macro to set the left/right checkboxes in the Classes Panel, based on a ’_1ST’ or ’_2ND’ identifier. I found that class names are more reliable than the checkbox settings themselves which I lost one or two times.
But even without use of macros, these identifiers are pretty helpful because the class name tells you at once: Latin, lowercase, rightside class, for a and relatives.
No idea what the 2 means here ...


Nick Shinn
2.Jun.2008 5.08pm
Nick Shinn's picture

Thanks Karsten!
A mine of information, as always.


dezcom
2.Jun.2008 10.17pm
dezcom's picture

Karsten is in a class by himself! :-)

ChrisL


Eben Sorkin
2.Jun.2008 11.09pm
Eben Sorkin's picture

Quite so!


dezcom
3.Jun.2008 7.28am
dezcom's picture

_karsten: karsten’

ChrisL


Ale Paul
3.Jun.2008 10.03am
Ale Paul's picture

sub alepaul’ @all by karsten; will be what I need. LOL.