Administration > Customizing Character Sets > Adding a User-Defined Character Set
  
Adding a User-Defined Character Set
You can make a new character set accessible to Arbortext Editor by configuring a file charent.cf that matches the new character names with their code points in the character set. You can also associate a system display font with a character set definition in the wcharset.cf.
1. Copy the default Arbortext-path\lib\charent.cf file and specify the new character name, followed by the char set and character number char # for each character in the set. Each entry contains the character name followed by three pairs of identifying data:
[character set name] [8-bit data] [unicode data] [TeX ]

[character name] [char set] [char #] [char set] [char #] [char set] [char #]
[character name] [char set] [char #] [char set] [char #] [char set] [char #]
where
char set is the name of the character set source and char # is the encoding position for the character in the set.
If no value is specified in the TeX position, the information provided in the 8–bit column is substituted.
For example, to add the Windows character set of symbols called Marlett to Arbortext Editor, create a file called charmarl.cf. Populate the file with the following entries:
[character set name] [8-bit data] [unicode data] [TeX ]
charset: Marlett
blackball Marlett 110 - - - -
bigx Marlett 114 - - - -
where
Marlett is the character set name. The keyword at the top of your new *.cf file defines the new character set name. It can consist of any string of characters excluding spaces or tabs, but it should start with a letter. This character set name is then specified in column 3 for subsequent character entity definitions.
the character names blackball and bigx represent arbitrary entity names. Create a new entity name for each character in the set.
the number on the right is the code point representing the character's position in the character set.
Dashes must be used as placeholders where information is not specified.
The example uses an existing Windows character set, but you can define your own custom character set from scratch. You need to install the font for the character set and make the associated customizations detailed here, including assigning code points, before you can use your custom character set.
You might have a font vendor create a set of special symbol fonts for you. The vendor should provide you with a font table with the font file showing the code point for each character (that is, the encoding). You make entries as shown above in your custom .cf file using the code points of your custom font as shown in the font encoding table provided with the font. Use the Unicode column to specify either the standard Unicode characters, or unique code values in the private use area (E000–F8FF).
2. You can copy Arbortext-path\lib\wcharset.cf to use as a template for a supplementary character set definition file. See Associating fonts with character sets for display for information.
3. Make sure that the appropriate font has been installed on your system.
If you want to make a custom charent.cf or wcharset.cf file automatically available, use the Arbortext-path\custom\lib directory to load them automatically upon startup (avoiding the need to set an environment variable). If you create a custom charent.cf or wcharset.cf file for a particular locale, you can put it the appropriate locale-name subdirectory of Arbortext-path\custom\lib\locale.
* 
If a font family has bold and/or italic styles, entities will track the current weight and/or posture.