Kerning pair with lig's.

Eric_West
10.Mar.2006 5.24pm
Eric_West's picture

Just wanted to know if this was the correct way to do kerning pairs w/ligs, since i can’t seem to pull up the lig without the back-slash.

Thanks



.
10.Mar.2006 5.33pm
.'s picture

Yep.

Here’s how that would look as an OpenType feature:

feature kern {
pos f_l i -1;
} kern;

Couldn’t be simpler! Nice looking forms, too, Eric.

c


Eric_West
10.Mar.2006 5.34pm
Eric_West's picture

Thanks Chester!


.
10.Mar.2006 5.49pm
.'s picture

I know you didn’t ask, but... The crossbar of the “f” traditionally doesn’t touch the “l”. You’ve got something there that looks a little bit like a cap “A”.


Eric_West
10.Mar.2006 10.02pm
Eric_West's picture

Point taken.


k.l.
11.Mar.2006 3.03am
k.l.'s picture

You can also type “/f_l int” (note the space after /f_l). The slash is required so FLS knows “f_i” is the glyph name not three individual glyphs.

If your “l” and the “l” in “f_l” are not too different, you might create a kern class with “l” as base glyph and then kern the “l” only. So: “_l_1: d l’ f_l f_f_l”.
In this example, the first “_” in the class name indicates to FLS that it’s a kern class. The “l” in the class name reminds you of the base glyph (which you have to kern in FLS). And the “_1” [one] is a hint that this is a leftside-of-a-pair-class, or first class. (A rightside-of-a-pair-class would have “_2” at the end.)
Right from the start, for a kerning class containing “I” “Idotaccent” “Igrave” “H”, you should prepare TWO classes nevertheless — one for “I” “Idotaccent” “Igrave” “H” being the first glyph of a pair, one for them being the second glyph of a pair (“_I_1: I’ Idotaccent Igrave H” and “_I_2: I’ Idotaccent Igrave H”). Anything else would bring you into trouble when compiling the kern feature later.


paul d hunt
11.Mar.2006 7.41am
paul d hunt's picture

and another point, for ligatures that have their own postscript names, you should name them with those names, thus: fi, fl, ff, ffi, ffl, st, longst but f_t, c_t, s_p, &c.


k.l.
18.Apr.2006 10.14pm
k.l.'s picture

Hello Mr Hunt — do you know about issues with standard ligatures named with underscore? I haven’t found any. Windows didn’t knew fi and fl anyway, not to speak of st or longst. And OS9 is almost dead. Compatibility is nice, but the question is: how far back?, as this thread is about OpenType not PS T1 fonts.

Karsten


paul d hunt
18.Apr.2006 10.17pm
paul d hunt's picture

do you know about issues with standard ligatures named with underscore?

i’ve been informed that either way is acceptable. i stand corrected. thank you.


Nick Shinn
19.Apr.2006 7.40am
Nick Shinn's picture

The crossbar of the “f” traditionally doesn’t touch the “l”.

You sure about that chester?


paul d hunt
19.Apr.2006 7.45am
paul d hunt's picture

f-ligatures from Lanston New Bookman (metal)


hrant
19.Apr.2006 8.56am
hrant's picture

I don’t know about “tradition” in this case, but to me not only the bar shouldn’t touch, but neither should the tops! :-) Especially for a book font (small x-height, strong “f”, longish serifs).

hhp


Eric_West
19.Apr.2006 3.45pm
Eric_West's picture

That’s the only reason I had done it before, after seeing other type use it, but he was right about mine, it didn’t help.


piccic
29.May.2006 8.15am
piccic's picture

Is there a way to study properly how class-based kerning works in FontLab 5? I have not worked seriously on type for almost two years, and I would really welcome the opportunity to study properly these things.

I mean, is there a book, or something like that? I quite dislike technical aspects and code, and that’s one of the reasons which contributed to my inactivity (well, just one, in fact).

I feel somewhat lost when I start looking at the complexity a type design seem to require nowadays. I guess it’s just the matter of getting used to this basic programming, but I really feel disoriented about it.


twardoch
29.May.2006 10.00am
twardoch's picture

Paul,
> for ligatures that have their own postscript
> names, you should name them with those names,
> thus: fi, fl, ff, ffi, ffl, st

I wonder if you could elaborate a bit on what you mean by “ligatures that have their own postscript names”. The authoritative source, Adobe Glyph List for New Fonts (http://partners.adobe.com/public/developer/en/opentype/aglfn13.txt ) does not list any single of those you quote.

The legacy Adobe Glyph List 2.0 (http://partners.adobe.com/public/developer/en/opentype/glyphlist.txt ) includes ff, fi, fl, ffi, ffl but not st. But that said, these are considered legacy names since they’re absent from AGLFN. According to AGLFN, you should use the algorithmic names (f_f, f_i, f_l, f_f_i, f_f_l, s_t) in all cases.

A.

Adam


paul d hunt
29.May.2006 10.27am
paul d hunt's picture

I wonder if you could elaborate a bit on what you mean
sorry adam, thnx for clearing up my confusion. i still need to read through this documentation so i don’t make stupid mistakes like this.


twardoch
29.May.2006 10.49am
twardoch's picture

Of course if you use the names like “fi” or “fl” for the standard ligatures, it won’t break anything. The difference between AGLFN (Adobe Glyph List for New Fonts, http://partners.adobe.com/public/developer/en/opentype/aglfn13.txt ) and AGL2 (Adobe Glyph List 2.0, http://partners.adobe.com/public/developer/en/opentype/glyphlist.txt ) is that the first lists the recommended glyph names (“best picks”, so to say) while the second also lists “legacy” names that will also be understood. For Unicode codepoints not listed in the AGLFN, you need to follow the algorithmic approach that is discussed in the “Editing Fonts” chapter, “Glyph Naming and Character Encoding” section of the FontLab Studio 5 manual.

A.


paul d hunt
29.May.2006 11.24am
paul d hunt's picture

speaking of the FLS5 manual: when will there be a new one without the postscript errors?


twardoch
29.May.2006 1.04pm
twardoch's picture

Which one are you talking about? Can you please contact us at http://www.fontlab.com/problem/ , telling us the URL that you downloaded the manual from and the exact problem you’re having?

A.