3rdalbum
December 8th, 2006, 07:46 AM
A tremendous number of fonts were created for Macintosh when it was king of typesetting. So how do you get those fonts going on Ubuntu, assuming you still have a Mac available?
1. Download the Fontforge program:
sudo apt-get install fontforge
2. On a Macintosh, download a program that will create BixHexes* (if you haven't done so already). The original BinHex program (you can get it from http://www.pure-mac.com) works fine on OS 9. Don't use Stuffit Lite - we want the file .hqx'ed, not .sit.hqx'ed.
3. Use your program to create a .hqx of your existing font suitcase. "Loose" fonts will probably work too. In BinHex 4.0, you go File > "Application -> Upload" and choose the font and the destination file.
4. Put the .hqx file onto a flash drive or some other thing that you can access from within Ubuntu. If it's a removable drive, unmount it and stick it into your Ubuntu machine.
5. Copy the file to your Ubuntu home directory. Press Alt-F2 and type "fontforge", and press Enter.
6. You will be prompted for a file. Double-click on your .hqx file; after a short pause Fontforge will open and display it.
7. Go into Element > Font Info... and click the General tab. In the "Em-Size" popup, choose "1000".
8. Dismiss that dialog. Now go File > Generate Fonts... Choose "PS Type 1 (binary)" as the type, now save it. You will get a warning about the first 256 characters... ignore this and hit Yes.
9. Now you will have ~/fontname.pfb. Open a root file browser and navigate to /usr/share/X11/fonts/Type1/. Drag and drop your font from the home directory into there, restart your word processor or The Gimp, and your font will be available! Happy typesetting!
* Apparantly, Fontforge can also work with MacBinary-encoded (.bin) font files. I haven't tried this.
1. Download the Fontforge program:
sudo apt-get install fontforge
2. On a Macintosh, download a program that will create BixHexes* (if you haven't done so already). The original BinHex program (you can get it from http://www.pure-mac.com) works fine on OS 9. Don't use Stuffit Lite - we want the file .hqx'ed, not .sit.hqx'ed.
3. Use your program to create a .hqx of your existing font suitcase. "Loose" fonts will probably work too. In BinHex 4.0, you go File > "Application -> Upload" and choose the font and the destination file.
4. Put the .hqx file onto a flash drive or some other thing that you can access from within Ubuntu. If it's a removable drive, unmount it and stick it into your Ubuntu machine.
5. Copy the file to your Ubuntu home directory. Press Alt-F2 and type "fontforge", and press Enter.
6. You will be prompted for a file. Double-click on your .hqx file; after a short pause Fontforge will open and display it.
7. Go into Element > Font Info... and click the General tab. In the "Em-Size" popup, choose "1000".
8. Dismiss that dialog. Now go File > Generate Fonts... Choose "PS Type 1 (binary)" as the type, now save it. You will get a warning about the first 256 characters... ignore this and hit Yes.
9. Now you will have ~/fontname.pfb. Open a root file browser and navigate to /usr/share/X11/fonts/Type1/. Drag and drop your font from the home directory into there, restart your word processor or The Gimp, and your font will be available! Happy typesetting!
* Apparantly, Fontforge can also work with MacBinary-encoded (.bin) font files. I haven't tried this.