Known Incompatibilities
When you're using the TrueType Font Editor application, it controls the TrueType fonts installed on your system. If you select another application to use while TrueType Font Editor is open, the fonts in the menu bar and in dialog boxes may not display correctly. If this situation should occur, follow these steps:
You should be able to print fonts you create with the TrueType Font Editor on most LaserWriter printers. However, you may not be able to print the fonts on some printers. If this happens, you may see a message that there is a PostScript error.
Introduction
The TrueType Font Editor lets you create Traditional Chinese and Simplified Chinese characters that you can enter in your documents. These non-standard or customized characters are called gaiji. The name gaiji refers to characters other than the standard 13,000 Traditional Chinese characters and 6,763 Simplified Chinese characters which are already part of the Chinese Language Kit. This document provides brief instructions on how to use the True Type Font Editor version 1.0.2.
Note: You can also create Korean and Roman characters using the TrueType Font Editor.
Overview
The TrueType Font Editor allows you to create new font suitcase files and to copy character outlines out of existing fonts, modify them and then save them in your newly created suitcase files.
The Font View window shows you the contents of a font suitcase file. From this window, you can select characters for editing and also change the code number allocated to each character. In this way you can manage your custom characters as a collection in one window by adding, deleting and arranging the characters according to their code numbers.
The Character Editor window enables you to combine and arrange shapes from any number of source fonts to form a new individual character. When you select a character from any location, a copy is made and shown in the Character Editor window. You do not see or modify the original outline. It is always a copy in the Editor window. In order to preserve the shapes you have edited, the contents of the Character Editor window has to be saved into a font suitcase by you. This is done at any stage of editing by using the Add In Font command from the Character Menu.
The activity of using the TrueType Font Editor falls into three parts:
2. Selecting fonts and characters within them by typing.
3. Editing the shapes and saving them into your suitcases.
Before creating a font, you need to set the Advance Width in the preference dialog box. This setting affects the size of the character, the position of the character and the distance between the characters.
Figure 1 Preferences
Click on the Use Defaults button. This sets the values shown. However the default values are not suitable for all fonts. For best results, set the value according those in your chosen starting font. To get the value from the existing font, follow these steps:
2. Choose Preferences from the Edit menu.
3. If necessary, click the TrueType icon on the left side of the dialog box.
4. Note the value of the "Advance width" option.
5. Close the dialog box and the font file.
6. With no windows open, go back to the Preferences window, type in the Advance width value you noted in 4. above and click OK.
Character Encoding
Each character you create must have a code number. If you are creating a Traditional Chinese character, it has a Big5 code, which is a hexadecimal number. If you are creating a Simplified Chinese character it has a Quwei code, which is a decimal number. The Big5 and Quwei codes are divided into three ranges for symbols, frequently used characters, and other characters respectively.
When you create a character, the default code number will not always fall in the correct range. The TrueType Font Editor has the ability to edit or overwrite any character in a font, including the existing standard characters. Therefore you must take care in choosing code numbers for your characters. Use the following guidelines to assign a code number to your character.
Traditional Chinese Big5 Code Ranges
The three ranges for the Big5 codes for Traditional Chinese characters are:
2. For frequently used characters, the full range is $A440 to $C67E. Create new characters in the range $C6A1 to $C8FE
3. For other characters the full range is $C940 to $F9D5. Create new characters in the range $F9D6 through $FCFE.
The three ranges for the Quwei codes for Simplified Chinese characters are:
2. For frequently used characters, the full range is 1601 to 5589. There is no open space in this range for new characters. Either modify an existing character or create new characters in the ranges for symbols or other characters.
3. For other characters, the full range is 5601 to 8794. Create new characters in the range 8801 to 9294.
To create new font suitcase for your collection of custom characters, follow these steps:
2. Clicking Save will take you to the New Font File dialog, shown below. Type a Family Name for your new font and select Traditional Chinese or Simplified Chinese from the Script pop-up menu. Then click OK to save the file to disk. In the screenshot below, the Font Family Name has been entered as "TCFamilyName".
Note: At this point the new empty font file has been created on disk with the Advance Width value you set earlier in the preferences window.
3. After clicking OK, the Font View window appears, as shown below. From the script you have selected, the application automatically assigns a Family ID number within the correct range. Characters added to the font will appear in the main display area at 24 point size.
Figure 3 ExampleSuitcase
Creating and Designing a Character
To create a new character using the TrueType Font Editor, start by copying an existing Chinese character and then changing it. Typically a Chinese character consists of several radicals, so you might delete one radical of a character and add a radical of another character to it. You can also move radicals that make up the character you are creating.
To create new character in the character editor window, follow these steps:
2. Choose Show Tool Panel from the Window Menu. The tool palette provides three character editing tools:
Figure 5 Tool Panel palette
4. Enter a character in the Character Editor window.
5. Choose an input method from the Keyboard menu and an input mode from the Pencil menu. For example, choose Pinyin to create a Traditional Chinese character or ABC Standard to create a Simplified Chinese character. You must also select a Traditional or Simplified Chinese font from the font menu in order to be able to select a character correctly.
6. Press the keys to enter the character you want to start with then press the Space bar. Select the character in the selection palette and press return. The character now appears in the Character Editor window.
Figure 6 Character Editor 3
Note: See the Chinese Language Kit Manual for detailed instructions on using the various Chinese input methods.
7. Enter additional characters in the Character Editor window.
If you want to combine radicals from two or more characters, you can enter more than one character in the same Character Editor window. The characters will superimpose on top of each other aligned at their bottom left corners, as shown below. You must then edit and re-position the shapes as required to form your new character.
8. Create Multiple Character Editor windows
Alternatively, you can create separate Character Editor windows for each source character and then cut, copy and paste between them to do the editing. Do this by selecting New Character Editor from the Window menu for each character you need.
Figure 7 Character Editor 3
9. Zooming in
Select the Magnification tool then click in the Character Editor window to zoom in. Hold down the Option key and click to zoom out. (Use the scroll bars to adjust your view when zoomed in.)
10. Selecting and editing parts with the Selection and Scale tools.
You are now ready to change the character. Here are some ideas of what you can do:
Figure 8 Suitcases
Saving a Character to a Font Suitcase
To save the character you have created in the character editor window, follow these steps:
2. You now need to check the code for the new character. Click the button at the bottom of the font view window called Change Selected Character Code. This will take you to the Character Code window.
Figure 11 Warning dialog
3. Compare the value in the dialog to the code ranges given in "Character Encoding" earlier in this document. If the default code value is within the appropriate range, then click OK. If it is not, then type in an appropriate value. When you're finished, click OK.
TrueType Font Editor checks the code value you have given with any other characters you have created and stored in the same font suitecase file. If there is a conflict with an existing character, you will be warned that the code is already in use.
Figure 12 Save Changes dialog
Either choose to replace the older character with the one you have just given the code value to, or cancel to go back and enter another non-conflicting code value.
You can now create other characters or you can quit from the TrueType Font Editor.
4. Choose Save from the File menu to save the font in the file. If you forget to save, you will be reminded when you close the Font View window or quit the application.
To enter the character you have created in a document:
2. Drag it to the System Folder. A message asks you if you want to place the file in the Fonts folder.
3. Click OK.
4. You must now restart your workstation.
Working with a Collection of characters in a suitcase file
As you create new characters by using Add In Font from the Character Menu, your font suitcase file will gradually accumulate characters. These will be displayed, arranged in ascending code value order, at 24 point size in the main area of the Font View window.
Figure 13 ExampleSuitcase