Common Classes

Primary tabs

9 posts / 0 new
Last post
Randy Jones's picture
Offline
Joined: 23 Nov 2002 - 11:00am
Common Classes
0

Just curious if there is a file of common FontLab classes anywhere online or in their support stuff. If not, I thought it would be handy if someone could post a basic starting place for kerning and OT features. I suppose after doing a few fonts that utilize classes you will have a class file you draw from regularly.

Thanks,
Randy

Tiffany Wardle's picture
Offline
Joined: 13 Jul 2001 - 11:00am
0

Randy you should look into Leslie Cabarga’s new book “Learn FontLab Fast” (Technical Editor Adam Twardoch). There is an entire chapter dedicated to “Spacing, Kerning, and Hinting a Font”.

Thomas Phinney's picture
Offline
Joined: 3 Sep 2002 - 11:00am
0

Randy,

I just posted the other day the OpenType feature file for the next release of Minion Pro. Although glyph names can’t be relied on to be correct (with our FDK we use “working” names that may differ from the final names in the generated font), they should be clear as to what they refer to. I think this would be a fine reference for some common class structures and how features are built—indeed, that’s why I posted it.



I hope you find this helpful.

Thomas W. Phinney Program Manager Fonts & Core Technologies Adobe Systems

“Everything that can be invented has been invented.” — Charles H. Duell, Commissioner, U.S. Office of Patents, 1899

paul d hunt's picture
Offline
Joined: 15 Jan 2004 - 11:00am
0

I haven’t really used classes for spacing and kerning yet, but making classes for OT features in FontLab is pretty easy. I just try to make several classes that capture similar glyphs, make one for lc letters a-z+lc accented lowercase, one for caps A-Z + accented caps, one for smallcaps + accented smallcaps, one for oldstyle figures 0-9, one for lining figures 0-9, one for tabular figures 0-9, etc. Then when you’re building features it’s pretty easy to build a smcp feature that replaces the lowercase set with the smcp set and the lining figures with oldstyle figures, etc.
Anyhow I hope that was somewhat helpful at least.

Randy Jones's picture
Offline
Joined: 23 Nov 2002 - 11:00am
0

Tiffany, I do have Leslie’s book (and would recommend) which is mostly responsible for my deeper delvings into FL.
Thomas, great thanks!
Paul, thanks for that too.

I’ve got my head pretty much around what needs to get done and how to do it. My lazy butt wants to save a few mouse clicks :-) Thanks all.

paul d hunt's picture
Offline
Joined: 15 Jan 2004 - 11:00am
0

I suppose after doing a few fonts that utilize classes you will have a class file you draw from regularly.

I think you were were on the right track to begin with. Rather than using someone else’s class file i’d feel more comfortable using my own. that way you know exactly what’s in there from the get go. it’d probably be just as tedious to go through another class file to figure out how all the classes were built as it would be to build your own. get off yer duff and just do it randy! ;^)

Thomas Phinney's picture
Offline
Joined: 3 Sep 2002 - 11:00am
0

Something went wonky with my link to the Minion Pro feature file. Let’s try again:

http://www.adobeforums.com/OpenType%20Font%20Developers%27%20Kit%20(FDK)/124

Hmmm. At least it’s visible now. Doesn’t work as a link, but you can cut-and-paste it into the address bar. Sorry about that.

T

Adam Twardoch's picture
Offline
Joined: 3 Dec 2002 - 7:36pm
0

FontLab Studio 5 will likely include a handy Python script that creates classes.

Regards,
Adam

paul d hunt's picture
Offline
Joined: 15 Jan 2004 - 11:00am
0

Leslie just made some $$$ off this thread. I broke down and bought both his books on Amazon. Now I gotta head home and study his “Bible”…. still waiting for “Learn,” it’s backordered.