Example Full HBF File
The following is an example full HBF file which uses the
bitmap files supplied in the ETen System Version 3.10.
HBF_START_FONT 1.1
HBF_CODE_SCHEME Big5 ETen 3.10
FONT eb5-24k
COMMENT
COMMENT An equivalent full XLFD 1.5 conforming font name is
COMMENT -ETen-Kai-medium-r-normal-fantizi-24-240-75-75-c-240-Big5.ETen.3.10-1
COMMENT which is formed from the first 15 properties listed in
COMMENT the STARTPROPERTIES section below.
COMMENT Any of these properties is optional, as in the simple HBF file.
COMMENT Modified by cyl@ifcss.org 1994.7.16
COMMENT
SIZE 24 72 72
HBF_BITMAP_BOUNDING_BOX 24 24 0 -2
FONTBOUNDINGBOX 24 24 0 -2
COMMENT
COMMENT Begin Logical Font Description -- 20 special properties for this FONT
COMMENT
STARTPROPERTIES 20
FONTNAME_REGISTRY ""
FOUNDRY "ETen"
FAMILY_NAME "Kai"
WEIGHT_NAME "medium"
SLANT "r"
SETWIDTH_NAME "normal"
ADD_STYLE_NAME "fantizi"
PIXEL_SIZE 24
POINT_SIZE 240
RESOLUTION_X 75
RESOLUTION_Y 75
SPACING "c"
AVERAGE_WIDTH 240
COMMENT '-' can't be used in full XLFD name, thus use '.' in CHARSET_REGISTRY
CHARSET_REGISTRY "Big5.ETen.3.10"
CHARSET_ENCODING "1"
FONT_ASCENT 22
FONT_DESCENT 2
COMMENT
COMMENT All the above properties are discussed in XLFD Conventions 1.5.
COMMENT
COMMENT The rest is the same as the simple HBF file.
COMMENT
DEFAULT_CHAR 0xA140
COMMENT 0xA140 is the Space character.
COPYRIGHT "(c) 1988, 1992 ETen Information System Corp"
NOTICE "The bitmap files are that of ETen System 3.10 or the equivalent."
ENDPROPERTIES
COMMENT Users should observe the copyright of the individual bitmap font files.
COMMENT This HBF header file is in the public domain (1994)
COMMENT
COMMENT CHARS is optional in HBF
CHARS 13943
HBF_START_BYTE_2_RANGES 2
HBF_BYTE_2_RANGE 0x40-0x7E
HBF_BYTE_2_RANGE 0xA1-0xFE
HBF_END_BYTE_2_RANGES
HBF_START_CODE_RANGES 4
HBF_CODE_RANGE 0xA140-0xA3E0 spcfont.24 0
HBF_CODE_RANGE 0xA440-0xC67E stdfont.24k 0
HBF_CODE_RANGE 0xC6A1-0xC8FE spcfsupp.24 0
HBF_CODE_RANGE 0xC940-0xF9FE stdfont.24k 388872
HBF_END_CODE_RANGES
COMMENT 0xA140-0xA3E0 is 408 Big5 specific punctuation, numerals,
COMMENT Roman, Greek, Bopomofo Alphabet and 33
COMMENT Control characters
COMMENT 0xA440-0xC67E is 5401 frequently used Big5 Chinese
COMMENT characters.
COMMENT 0xC6A1-0xC8FE is 408 ETen specific numerals, Japanese and
COMMENT Russian alphabets, etc.
COMMENT 0xC940-0xF9FE is 7652 less frequently used Big5 Chinese
COMMENT characters and 41 other ETen specific
COMMENT characters.
HBF_END_FONT
Part of Hanzi Bitmap Font (HBF) File Format version 1.1.