Naming conventions for code pages
All AFP code page names begin with T1, which makes them recognizable as code pages. This section shows the naming conventions for code pages and extended code pages used with these font library character sets:
- General Library (outline fonts) and SBCS (expanded core raster fonts)
- CJK (outline fonts) and DBCS (core raster fonts) with full-width characters
- CJK (outline fonts) and DBCS (core raster fonts) with half-width characters
Code pages for General Library and SBCS fonts
The last six characters of the code page name are used to identify the code page for General Library and SBCS fonts. The preferred naming convention is where the first two characters are 00, V1, or B0, and the final four characters are the code page global identifier (CPGID), which is a number registered by IBM to identify each code page uniquely.
The next table shows the naming convention for code pages used with General Library outline font character sets and SBCS raster font character sets. The naming convention format is T1yyyyyy.
Naming convention for General Library and SBCS fonts
T1 | yyyyyy |
---|---|
AFP code page prefix | Code page identifier:
|
Code pages with full-width characters for CJK and DBCS fonts
The names of code pages that use full-width characters are typically six characters for CJK outline fonts and eight characters for DBCS raster fonts.
The next table shows the naming convention for code pages used with CJK and DBCS full-width character sets. The naming convention format is T1xxxxss.
Naming convention for code pages using full-width characters
T1 | xxxx | ss |
---|---|---|
AFP code page prefix | Code page global identifier (CPGID), with these exceptions
|
Section number for a code page used with a raster font. |
Code pages with half-width characters for CJK and DBCS fonts
The names of code pages that use half-width characters typically have H0 as the third and fourth characters.
The next table shows the naming convention for code pages used with CJK and DBCS half-width character sets. The naming convention format is T1Hnxxxx.
Naming convention for code pages using half-width characters
T1 | Hn | xxxx |
---|---|---|
AFP code page prefix |
|
Code page global identifier (CPGID) |