| Log In | Not a Member? |
Contact ADC
|
|
Making Newton OS FontsThere are three ways that TrueType fonts for the Newton OS can be made using tools available from Apple. This document provides an overview of some of the isuses involved and describes the three techniques. Two of them involve conversion of Mac OS bitmap fonts with a single tool; the third involves a number of different tools and is described in some detail. The Newton and UnicodeThe Newton provides, in theory, full support for the Unicode character set. (For more information, you can visit The Unicode Consortium's Web site or look over the Unicode code charts.) In practice, without the ability to reliable input Unicode characters outside of what the standard Newton keyboards provide or include them in books, there will be a temptation to provide support for much of Unicode by reusing the Roman code points. (For example, you may be tempted to provide support for Zapf Dingbats that way, even though Unicode has a Zapf Dingbats block separate from the Roman block.) As a member of the Unicode Consortium, Apple strongly encourages Newton font developers to provide proper support for the Unicode Standard in their Newton fonts. Note, however, that the Newton OS doesn't support Unicode's bidirectional algorithm and doesn't provide for right-to-left text in general or glyph reordering and other sophisticated layout mechanisms required by South Asian scripts. Still, there's a lot of Unicode you cando on the Newton as is. A note about copyrightsFonts are copyrightable and copyrighted. It is illegal to distribute other people's intellectual property without their permission. Do not use Apple's tools to create Newton versions of fonts which you then distribute without the permission of the original font designer. How to do itOne is to use the Newton Font Tool. This tool was created by Apple's Newton group (back when Apple had one) and is now owned by Apple's Font group. It is currently available at Apple's font tool site. You'll probably want to download it in any event, as the archive includes the Newton Font Specification (as an Apple DocViewer document) and some sample Newton ToolKit projects that show you how to get your fonts onto your Newton once you've created them. The Newton Font Tool is the simplest way to make a font for the Newton and is the only way to do it if you don't have an outline version of the font available. Unfortunately, it has a number of disadvantages:
A second technique would be to use Apple's Sbit Editor. This tool can also import Mac OS bitmap fonts and turn them into bitmaps embedded in a TrueType font. The resulting bitmaps can be hand-tweaked. This is probably the best solution overall. Finally, there are a number of other free tools provided by Apple intended for use on TrueType fonts for the Mac OS. It is possible to create Newton fonts using these tools. The main disadvantages are:
The remainder of this document describes how to use these Mac OS font tools to make fonts for the Newton. It is strongly recommended that people who use these techniques familiarize themselves with TrueType fonts using Apple's on-line TrueType font documentation and the Newton font specification. What tools you needThere are four tools which will be useful or needed to make Newton fonts. This document doesn't detail how the individual tools are used; see the documentation for the tools themselves for that information. Be aware that the current version of most of these tools requires Mac OS 8.5 or later.
Some related tools you may also find useful
What you need to doThe goal in making font for the Newton OS is to start with a Macintosh Font suitcase containing a TrueType font and end with a ResEdit file containing a TrueType font. You can then proceed to follow the steps outlined in the documentation for the Newton Font Tool. Step 1. Embed bitmaps in your TrueType fontIf your font already has Macintosh bitmaps in the form of Step 2. Add a Unicode cmapIf you've already got a Unicode cmap, you may want to skip this step. Or not. Running the AATFontTool over your font may reveal some problems with your Unicode cmap you didn't know about. The best way to add a Unicode cmap is with the AATFontTool. This is a very sophisticated font updating engine which will scan your font and, with a fair amount of intelligence, determine what Unicode code points are covered by your font, adding a Unicode cmap to cover them. Alternatively, you can use TrueEdit to create a Unicode cmap. Just select your Macintosh cmap and duplicate it. The result can be edited with TrueEdit rather clumsily, or more easily by using DumpCMAP/FuseCMAP. Step 3. Tweak your fontThe Newton OS uses some fields in the Open your font with TrueEdit. Double click on the
The tweak needs to be made in the horizontal line metrics. Note that the fields "maxBeforeBL" and "minAfterBL" have been set to 0. Copy the values of the "ascender" and "descender" fields into "maxBeforeBL" and "minAfterBL", respectively. Click on the "Save" button. If you have more than one point size in your font, click on the "Bigger" button and repeat for every size in your font.
If the font has a While you're using TrueEdit, you'll probably want to make your font smaller by deleting any
unnecessary tables. To delete a table, select it by clicking on
it and then hit the Delete key. Do this for every table except: the Step 4. Turn your suitcase into a resource fileOpen your font suitcase and drag the TrueType font out of it.
You need to change its file type to Step 5. There is no step 5.You're done. You can now proceed as you would if you had created the font with the Newton Font Tool. PrintingFonts created with this procedure will display correctly on the Newton but won't work correctly when the time comes to print. Actually, this may not be quite true. It may be possible to get your font printing on the LaserWriter. The only way, however, would be to load an outline version of your font onto the LaserWriter, for example, from your Mac. Then when you set up the Newton ToolKit project for your font, make sure you identify your font correctly. This might work. Or might not. It's unfortunate that you cannot, in general, make a Newton font which will print properly. (Note, by the way, that the Newton's built-in Casual font won't print, either.) There is, alas, a reason for this. One of the features never added to the Newton OSbut one which, I am assured, there were plans to add eventuallywas the ability to download fonts from the Newton to the printer. The Newton is therefore limited to printing using fonts already present on the printer. DisclaimerApple Computer, Inc. has ceased all development work on the Newton OS. Apple's Font Group is desirous to provide support for older and deprecated font formats, such as fonts for the Newton OS, but it is not a part of our formal charter and responsibilities. We do not and cannot guarantee that these techniques will work to create Newton OS fonts. They've worked for us, and we're reasonably confident that they'll work for you.
Version 1.0.3 Copyright © 1998-1999 by Apple Computer, Inc. All rights reserved. Last update: 6/25/99 Report errors or problems to: applefonts@apple.com.
|