New to Typophile? Accounts are free, and easy to set up.
I have pulled out 80% of my hair trying to tackle these problems...I haven't posted here before so hello to all...
(I am working on a Mac OSX tiger on Fontlab 4.5)
1. Should I test them in fontbook or suitcase I have different results in each.
2. Exporting as .otf. Is there any benefit to .ttf
3. Would like them to be a true cross platform font (reason for using opentype). Is this too lofty of a goal. I have heard of many problems with this. Solutions?
4. My kerning pairs don't show up when using them in an application. They are as if I didn't make any. what am i doing wrong?
5. I have fonts with light, medium, bold, etc. When turning them on it doesn't seem to recognize the whole set some are missing. I have read through many posts and the manual can only get it right with luck it seems. help?
6. When typing with the fonts and the weights do show up there is for example a line of text in bold and a line in regular. When they print, they come out the same, either both bold or both regular... WTF?
Thanks for your help in advance
{Moderator: neutura. it was suggested that numbers be added to your questions to assist in answering your questions. hopefully you don't mind. miss tiffany}
9 Nov 2005 — 3:58pm
Going bald isn't all that bad :-)
What apps are you printing with? Many are not OTF savvy.
ChrisL
9 Nov 2005 — 4:02pm
I have tried printing through all adobe apps
9 Nov 2005 — 4:03pm
Sometimes one of the letters will be bold and the rest regular too!
9 Nov 2005 — 4:06pm
This particular thing sounds like a cache-ing issue, with the different style having the same font ID. Try flushing the RIP's cache, and making new versions with different IDs (or just the IDs set to zero should work these days).
hhp
9 Nov 2005 — 4:13pm
That sounds logical. Pardon my lack of knowledge here but when you get to the settings for font ID's I have been clicking the import button and it makes these numbers pop up. (It felt important when it did that). Are you saying that I should just leave it alone?
9 Nov 2005 — 4:17pm
Reply to 4.
AFAIK, on both Mac and Windows, GPOS (including class) kerning of TrueType flavored OpenType fonts is ignored by all non Adobe applications. Thomas Phinney
9 Nov 2005 — 4:21pm
Reply to 5. & 6.
This is probably related to incorrect font naming.
Read and follow [Tips / Families] Font Family Naming in FontLab
9 Nov 2005 — 4:33pm
Just a tip:
If you're using InDesign to test your fonts, you can generate the files directly into InDesign's fonts folder (somewhere around Computer/Applications/Adobe InDesign/Fonts). InDesign will refresh the fonts instantaneously.
9 Nov 2005 — 4:37pm
You guys are wicked.
I tried to apply the stuff in tips/families. It did clear up some issues. It looks like I need to get more familiar with the coding part when naming my font. I would give you all the hair I've pulled out as a gift but that's gross...
Last thing. Is there a way to view my fonts IDs and coding to see if I have done it right? For instance, compare it to another font done right?
Thanks for the responses.
9 Nov 2005 — 4:43pm
(I wrote these answers while Mike was posting, so there may be some redundant info.)
1. Should I test them in fontbook or suitcase I have different results in each.
Reinstalling a different version of the same font serially will result in problems because of the various font caches used by OS X. There are several strategies that I know of.
One is to avoid font managers and install fonts directly into the Adobe's private Font directory ([startupvolume]/Library/Application Support/Adobe/Fonts/). This means your fonts are only available to Adobe apps, but the apps don't seem to have cache problems when you use this approach.
Another strategy is to change the name of your font every time you generate a new version. You can install such fonts any way you like, but it's an extra step to keep changing the name.
2. Exporting as .otf. Is there any benefit to .ttf
It depends. If you are working with Type 1 curves (beziers) there will be a conversion process when you save as TTF which you don't have direct control over. Also, hints will be automatically converted to TT instructions, again without your direct control. Neither seems like a good way to test. If you are working in TT curves and building hints with TT instructions, that would be different.
3. Would like them to be a true cross platform font (reason for using opentype). Is this too lofty of a goal. I have heard of many problems with this. Solutions?
It is possible. There are some good tips on the FontLab forum, written by Adam Twardoch. Look in the "Tips" section. Particularly look at the article about naming. (Mike linked to this above.)
4. My kerning pairs don’t show up when using them in an application. They are as if I didn’t make any. what am i doing wrong?
It could be that you have not built a "kern" feature for your font. There is an option to do this automatically when you save an OpenType font. It's better to do it manually by using Class Kerning. It's not exactly obvious how to do this. Here is the procedure:
Create your left and right glyph classes (see the manual on how to do this). Kern the primary glyphs using the Metrics window. IMPORTANT: Make sure you don't do kerning pairs for any other glyphs. Do "Kerning Assistance..." from the Tools menu. Click on the "Apply and Save" button. Now you will have your "kern" feature. You need to do this whenever you change the kerning.
An additional step if you have more than 100 class kerning pairs: Insert "subtable;" about every 100 lines in the kern feature definition. If you don't, you will get erratic kerning in non-Adobe applications. I don't know why this is, but it works.
One more thing: The old-style kerning table is ignored in CFF OTF fonts.
5. I have fonts with light, medium, bold, etc. When turning them on it doesn’t seem to recognize the whole set some are missing. I have read through many posts and the manual can only get it right with luck it seems. help?
See Adam's article on naming mentioned above.
6. When typing with the fonts and the weights do show up there is for example a line of text in bold and a line in regular. When they print, they come out the same, either both bold or both regular… WTF?
I'm not sure, but it is probably a caching issue. The methods I explained in my answer to question #1 should help with this.
9 Nov 2005 — 4:45pm
Last thing. Is there a way to view my fonts IDs and coding to see if I have done it right? For instance, compare it to another font done right?
Font ID's are not used anymore, except in some cases by older Mac OS's. Only the names are used.
9 Nov 2005 — 5:01pm
What a font of information! Or is that fount?
Thanks eveybody. I am sure I will benefit from this advice too!
9 Nov 2005 — 5:01pm
VERY helpful
Mark,
I have been doing it as prescribed minus the apply and save function. (probably why they do not show up) I am using CFF OTF. You mentioned old-style kerning tables. Thats not something I could inadvertently create is it?
9 Nov 2005 — 5:30pm
About FOND IDs:
As of this writing [01-March-1991], nearly all major applications identify families by name, and since Font/DA Mover and System 7.0 renumber conflicting families when copying fonts, there should never be confusion except when using newer fonts on old software which references by number. Apple Technical Note
So, as long as the number you put in the field next to the script selected is within the range (see image), you're safe.
Tip: Fontlab will automatically generate a random number within the script's range, when you switch between scripts.
9 Nov 2005 — 5:33pm
The kerning table/kern feature thing gave me problems for a while when I first was using FontLab a year or two ago and generating OT fonts.
My understanding is that kerning tables are not saved with CFF OTF fonts, although I think it is possible. Even so, you don't want to do it.
Also, look at your kern feature after it is generated. If you see any pairs which directly reference glyphs. For example:
pos A T -30;
instead of
pos @_kernlA @_kernrT -69;
_kernlA and _kernrT are classes; A and T are just glyph names. For reasons I don't understand, if any entries in your kern feature are NOT classes, there will be problems in some applications. The way to remove the non-class pairs is to go through your kerning pairs (open a Metrics window; click on the little K to activate kerning; click on the "Kerning Dialog" button to the right of the button with the red X) and delete any pairs in which either side is not the primary glyph of a class (that's the one which comes first in the class and has a tick mark ['] next to it).
After doing this, redo the Apply and Save thing. Keep doing this until you only have class-based kerning pairs in the kern feature.
9 Nov 2005 — 5:36pm
Font cache cleaner: Font Finagler
9 Nov 2005 — 5:39pm
There is one other strategy with regard to font caches in OS X: Using a utility to clear the caches. Font Finagler will do this as will Font Explorer X. It works, but it has a big drawback in that you have to restart every time you do it. If you are doing a lot of change/test cycling, this can be very annoying and time-consuming. I don't recommend it, especially because there are easier methods, like the ones I mentioned earlier.
9 Nov 2005 — 5:40pm
Brilliant!
It looks like I am on the right track to solving my issues. When comes to making fonts it feels like the days when 10 people in the world knew what html was.
Thanks Mike for the final clarification.
9 Nov 2005 — 8:18pm
It is very much like those days, unfortunately. We're on the new font frontier, cowpokes. Saddle up and watch for raiders!
T
10 Nov 2005 — 7:30am
Let's just hope that somebody like David Siegel doesn't come along and write "How to Create Killer OpenType Fonts." It would take years to recover.