Example Simple HBF File

The following is an example simple 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
SIZE 24 72 72
HBF_BITMAP_BOUNDING_BOX 24 24 0 -2
FONTBOUNDINGBOX 24 24 0 -2
COMMENT  Begin Logical Font Description -- 5 special properties for this FONT
STARTPROPERTIES 5
FAMILY_NAME "Kai"
ADD_STYLE_NAME "fantizi"
DEFAULT_CHAR 0xA140
COMMENT Public domain simple HBF file (1993)
COMMENT The following lines relate to the bitmaps and typeface
COPYRIGHT "(c) 1988, 1992 ETen Information System Corp"
NOTICE "The bitmap files are that of ETen system 3.10 or the equivalent."
ENDPROPERTIES
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
COMMENT
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
COMMENT  Non-hanzi symbol (441 chars) bitmaps in file "spcfont.24".
COMMENT  Vendor-specific symbols (408 chars) bitmaps in file "spcfsupp.24k".
COMMENT  Frequently-used hanzi (5401 chars) bitmaps followed by
COMMENT  less-frequently-used hanzi (7693 chars) bitmaps in file "stdfont.24k".
COMMENT
COMMENT  For the fourth HBF_CODE_RANGE of less-frequently-used hanzi,
COMMENT  the range is smaller in standard Big5: 0xC940-0xF9D5 (7652 chars);
COMMENT  and the offset 388872 bytes from the start of the file "stdfont.24k"
COMMENT        is based on the information supplied by
COMMENT  Stephen G. Simpson <simpson@math.psu.edu>
COMMENT        -- these may vary depending on the version of the ETen system.
HBF_END_FONT

Part of Hanzi Bitmap Font (HBF) File Format version 1.1.