Metrics classes in Fontlab 5.0.3

clauses's picture

Hi there
I have stayed away from Metrics Classes in Fontlab up until now because of the 'disappearing Metrics Classes' bug. Is that bug gone now with the 5.0.3 release?

The case is that I would love to use Metrics Classes in my MM font. I have a set of working Kerning Classes that I use for the two endpoints in my MM design. Can I use the same set of Kerning Classes as Metrics Classes somehow? And if I can, then how do I set it up without breaking anything?

AttachmentSize
Kerning Classes.png61.31 KB
clauses's picture

Okay I have set up set of metrics classes by hand, but the functionality seems rather flaky. Sometimes the preview in the Metrics Assistance windows is way off, and when I turn on "Use the measurement line" on it's way off in another way. A restart of Fontlab seems to fix it for a time before the strange preview appears again – a bug?

Also, is it correct that I can only choose to use the measurement line globally, and not pr. class? When I press "Apply and save" it runs through all the classes that are turned on, as in I can't set and apply the settings pr. class?

k.l.'s picture

A bit late ... this script creates an equivalent metrics class for every kerning class. Also sorts into OT, kerning and metrics classes. (Note: It will remove all existing metrics classes. Also, you need to turn on kerning/metrics classes by hand.)

Hm, I don't use metrics classes.

clauses's picture

Thanks Karsten
Any users of Metrics Classes that wan't to chip in? How do you use Metrics Classes? Is it a matter of having very fine grained classes with strictly identical shapes? Then what about i with diacritics?

Juan Cue's picture

I'm currently working on FontLab 504 in Mac OS 10.6.8. I'm newby to font metric classes and looking for someone to guide me in this tedious work. I have defined a new metric class by hand, my key glyph has their LSB and RSB set, composites have different values, How do i transfer the key values to the composites by class? I'm avoiding the obvious copy paste special process.

Thanks in advance. PD. I'm figuring out how metric class works.

Juan Cue's picture

Ok, I figured out. First you have to create the metric class –either by hand or in auto mode (this last one isn't that precise)–; open the Metrics Assistance under Tools menu and check the classes you want to apply. That's it! click Apply and Save button.

For the I and their accented composites, you will have to use the measurement tool and meke sure to check it, so, the LRS and RSB will be copied from the stem, and not from the very edge of the bounding box.

Hope this works. =)

JamesT's picture

I've yet to really solve the i diacritic issue but what I do is establish a class for the left side of say, the letter /o/ and use it for the c,e, and whatever else has the same left side shape. I then make a class for the left & width of where the original letter is used to define the diacritic characters. For ligatures, I have a class for the right side.

I hope that made sense.

PabloImpallari's picture

An alternative to using Metric Classes,
will be to write a script to set the metrics for you.

In the first lines you can define the left and right side bearings for the typical letters.
Then you define the groups, and finally you apply the changes.

This way you can update everything quick and easy.

But it's just an idea, still have to learn python.
Maybe you can write it Claus :)

clauses's picture

Ha! I wish. I once programmed in Comal 80, but that was probably around the early 80s.

Syndicate content Syndicate content