MAJOR Bug with kerning in FontLab 5.0.3

Goran Soderstrom's picture

This happens in FL 5.0.3 for Mac:

About half of the kerning is lost (mostly the pairs that are not classes) when having OT-classes also in the font.

The kerning looks OK in the metrics panel, but when generated or updating the kern feature it shows that all kerning is not present anymore.

If I take away the OT-classes, the whole kerning is back again when I generate "kern" feature.

In this case it was smcp1 + smcp2.

Could anyone try and see if they have the same bug?

Goran Soderstrom's picture

It seems as it only activate the "Class VS Class" kerning and not the Single glyph VS Class, or Class VS single glyph.

Goran Soderstrom's picture

OK, this is a major bug that makes it impossible to produce fonts. Strange that no one else has discovered it yet. No reply from FontLab either, maybe they are working to fix it.

peterbruhn's picture

This happens in my 5.0.3 too.

Goran Soderstrom's picture

Great to hear that I’m not dreaming Peter ;-)

Easiest way of discovering the bug is to open an old font with classes and full kerning.

Then make the kern feature visible and again do "generate "kern" feature.

It takes away all kern pairs that are not class VS class.
OSX 10.4.9

twardoch's picture

Goran,

did you report the problem?

A.

Goran Soderstrom's picture

Yes, they were going to send it further to the team leader. This was about a week ago.

charles ellertson's picture

I've had funnies with revisiting a font in FontLab 5.0.2 on a PC as well, but thought it was just me. Instead of losing pairs, I usually gain them -- but the new ones are unwanted & wrong. May just be something I do & not a bug.

Anyway, my solution is to always save the features file, and put any new kerning in that file, read it back in & recompile. I put my classes in the feature file as well, so my starting point in a "revisit" situation is always a .vfb with no classes.

If I add kerning by using the FL metrics window (when revisiting), I write off an .AFM for pairs kerning, search & replace to get it into the proper syntax, & paste into the features file. For new classes or expanding existing classes, I just use the metrics window to determine the values. Then write these values into the features file "kern" feature in the appropriate places, read the features back into the .vfb, & recompile. Takes time, but seems to work. Just remember to say "NO" when the program tells you the "features file & metrics window kerning don't agree, do you want to rebuild?"

johnych's picture

Reports were recieved and the bug has been fixed.
Is there any more to fix in the next build?

Regards,
Johnych

Goran Soderstrom's picture

I would very much be glad if the "Sort classes" command would be available for mac also.

In 5.0.2 and 5.0.3 it doesnt do much...

You are saying that the bug has been fixed?!

Then, when could I get a new build of 5.0.3? Havent got an answer yet...

/ G

Goran Soderstrom's picture

One more thing on my "to-solve-wish-list":

The problem when tangent points (if they are startpoints) automatically convert themselves into sharp nodes. This happens when you close the font and open it next time.
See illustrated example.

This has been discussed before also.

yuri's picture

Thank you for this one, Goran! Will be fixed in 5.0.4 (and global guides and kerning bugs too).

Goran Soderstrom's picture

Ok, great. Will 5.0.4 be out soon?

How about the "sort classes alphabetical" in the class-panel? Could you please fix that bug to, it would be great.

Another nice thing you should put in the metrics window, is an integrated OT-feature window aswell. In that case, small caps could be kerned visually so much more easier? Just type a word and click "small caps" and the small caps can be kerned in the same window. Or any other feature aswell.

Thanks for a wonderful application otherwise! It is my best friend nowadays.

twardoch's picture

Goran,

5.0.4 will be out very soon.

For a future major release, we are considering an extension of the Metrics Window that would improve handling of glyphs accessed through the OpenType Layout features.

A.

inde's picture

it happened to windows version too, i kerned each letter carefully and it still gets me when generated!

twardoch's picture

I'm glad to report that the bug has been fixed in FontLab Studio 5.0.4 that was just released:

http://typophile.com/node/35006

A.

paul d hunt's picture

I would very much be glad if the “Sort classes” command would be available for mac also.

is there a sort classes feature? i'd like to see it!

Goran Soderstrom's picture

This is how it looks, the checkbox becomes visible when you go and “clean up classes”.

-
I have however doubts that I have completely understood this function. What I would desire it to do, is to sort the classes alphabetical in the list of classes. That is what it means to me.

Now, other people have said it sorts the letters inside the classes but that have never happened in my FontLab and just by reading it, at least I get the feeling that it will sort the classes, and not the letters inside them.

So, what is it? Could Adam shed some light? :)

paul d hunt's picture

hmmm, i've never noticed this before. i just tried it and it didn't seem to have any effect on my classes. It'd be handy if it worked as you described and sorted the classes alphabetically.

twardoch's picture

For sorting classes properly, I recommend the "kern" feature generation macro for FontLab Studio that ships with the newest version of AFDKO (Adobe FDK for OpenType).

A.

Syndicate content Syndicate content