udc(4)udc(4)NAMEudc - user-defined character raster font format
DESCRIPTION
The UDC raster font format consists of a character index and character
pattern.
The code area and the maximum number of characters depend upon the
device and the language. The size of the fonts depend upon the merged
font file and the device.
Character Index
The character index consists of a 4- or 5-digit code. According to
the languese, the following codes can be used:
┌────────────────────┬────────────┐
│ Language │ Code │
├────────────────────┼────────────┤
│Japanese │ KU-TEN │
│Korean │ Row&Column │
│Simplified Chinese │ HP-15 │
│Traditional Chinese │ HP-15 │
└────────────────────┴────────────┘
For KU-TEN code, the 2- or 3-digit KU code and 2-digit TEN code, i.e.
4- or 5-digit code is used. There are two pattern format as following.
Note 1KU ~ 120KU are valid for JIS X 0208, and 1KU ~ 94KU are for JIS X
0212.
┌────────────────────────┬─────────────────────────────┐
│Character Index example │ │
├────────────────────────┼─────────────────────────────┤
│[8701] │ For JIS X 0208 (87KU 01TEN) │
│[8701-0212] │ For JIS X 0212 (87KU 01TEN) │
└────────────────────────┴─────────────────────────────┘
For Row&Column code, the 4-digit decimal code is used. The code is
contained in brackets in this form: [1601].
For HP-15 code, the alphanumeric 0x precedes the 4-digit hexadecimal
code as in 0x889F.
Character Pattern
The # character in the illustrations below represents black pixels. A
space represents a white pixel.
EXAMPLES
[9493]
# #
# #
#
# #
# #
[9494]
#####
# #
# #
# #
# #
#####
SEE ALSOudcc(1), udcload(1), xudced(1).
udc(4)