Migrating T1 fonts to OTF

fontime
22.Nov.2007 4.53am
fontime's picture

I need to migrate my T1 fonts to OpenType format.
What is the best way of merge two T1 fonts in an unique OTF?

Example:
Regular + Small Caps with old style number = OTF

Thanks in advance,
Eduardo



charles_e
22.Nov.2007 6.51am
charles_e's picture

GENERAL DISCLAIMER: If it ain’t an Adobe font, it may break your license for the font. You’ll have to check.

If the final font is to be an OpenType font, you are going to have to write features. So the first questions is, do you want to save the kerning in the original Type 1 small cap font. It will be flat pairs kerning, not class-based kerning.

If you don’t want to save that kerning, just cut & paste the small cap glyphs into the “main” font file, and rename them. The usual convention is to name them “A.smcp” and use no Unicode number. To make them accessible, you need to write a couple features — if you are using FontLab, see the FontLab examples.

If you do want to save the kerning in the original small cap font, I’d rename the glyphs in that font (again, “A.smcp” etc.) and write off an .afm file with the renamed glyphs. Now cut & paste the glyphs as above, and write off an .afm file for the new font file that now contains the A.smcp etc.

Using “grep” (or the Mac equivalent) extract “smcp” from the original .afm file to another file (e.g. grep “smcp” smallcap.afm > smcaps). Open up that file & delete all lines except the KPX lines. Add the KPX lines to you new afm (after the other KPX lines works fine), save, & read that afm back into the font. Now you have your pairs kerning with the added small capitals.

A lot of work, isn’t it? You can write some little programs to ease the manual work, but I don’t know of any generally available. I use old TeX tools, but maybe there are some Python scripts out there.

BTW, the problem with just merging the fonts in FontLab is the kerning. You have to leave the full caps and punctuation in the font you are merging in order to preserve the kerning. That means when you merge, you double them up in the resulting font. FontLab will give these “doubled glyphs” a unique name (something like like A.1), but the small cap kerning for those “doubled letters” is now with that unique name.

Play around a bit, you might hit on something faster.

BTW-2: If your time is worth anything, it will be cheaper just to buy new OT versions of the fonts.


Goran Soderstrom
22.Nov.2007 8.18am
Goran Soderstrom's picture

I wonder if this takes away the italic feeling here?

Edit: no...


Miguel Sousa
22.Nov.2007 1.42pm
Miguel Sousa's picture

> GENERAL DISCLAIMER: If it ain’t an Adobe font, it may break your license for the font. You’ll have to check.
BTW-2: If your time is worth anything, it will be cheaper just to buy new OT versions of the fonts.

I think Eduardo wants to convert *his own* fonts, since he happens to have his own foundry http://www.tipo.net.ar/sobre_eng.html

Eduardo, I’d encourage you to use the AFDKO. There are several threads around here about how to use it.


fontime
22.Nov.2007 2.05pm
fontime's picture

Miguel

Yes, we wants to convert our fonts!, and we look the AFDKO.

Thanks!
Eduardo Rodríguez Tunni
www.tipo.net.ar


fontime
27.Nov.2007 10.36am
fontime's picture

Miguel:

I’m trying to install AFDKO, but I can’t do it.
Can you help me?

Thanks,

Eduardo Rodríguez Tunni
www.tipo.net.ar


Miguel Sousa
27.Nov.2007 4.34pm
Miguel Sousa's picture

Sure. Which part are you having problems with? Are you on Mac or PC?


fontime
28.Nov.2007 3.24am
fontime's picture

Miguel:

I’m in Mac with 10.4.11 and FontLab Studio 5.04

Thanks in advance!

Eduardo Rodríguez Tunni
www.tipo.net.ar


Miguel Sousa
28.Nov.2007 5.54pm
Miguel Sousa's picture

I posted the instructions on the AFDKO wiki page.


fontime
29.Nov.2007 3.25am
fontime's picture

Miguel:

Thanks!!

Eduardo Rodríguez Tunni
www.tipo.net.ar