nanogui: how to correct hzx12 chinese font
Subject:
Re: [nanogui] how to correct hzx12 chinese font
From:
"Greg Haerr" ####@####.####
Date:
10 Aug 2006 05:07:18 +0100
Message-Id: <082201c6bc32$96708120$6401a8c0@winXP>
: We have been using HZX12/HZX16 for displaying Traditional Chinese
: on our embedded devices. Recently, we found that several chinese
characters
: were either missing or mismatched from their ASCII values. Does anyone
: know to how hzx12/hzx16 are generated in the first place? How can I edit
the
: file to fix the bugs?
Alan -
The HZX stuff is very old, and not used anymore. The recommended
approach would be to use a chinese .bdf file and the .pcf or
.fnt binary format.
However, check the src/fonts/chinese directory, you'll see a couple of
files, big5font.c and packhz12.c, which should explain how this older
font file got decoded.
If you figure it out and correct it, please comment on the list about
it and send me a patch.
Regards,
Greg