nanogui: how to change an bitmap font to an array of MWIMAGEBITS type
Subject:
Re: [nanogui] how to change an bitmap font to an array of
MWIMAGEBITS type
From:
####@####.####
Date:
8 Jan 2008 04:41:45 -0000
Message-Id: <19703690.842561199767250071.JavaMail.coremail@bj163app37.163.com>
Thank you first!
>> But how to change an bitmap font to an array of MWIMAGEBITS type?
>Well, first I'd need to know the input bitmap font format.
Look also at the "convbdf -c" output.
I want to use the HZK font file of dot matrix format,but it seems that it is different for 12*12 dot matrix and 16*16 dot matrix to change them into MWIMAGEBITS type!Whatever, I've made it,but for 24*24 dot matrix I dont know how to do that!
Now I've drawn my 24*24 dot matrix chinese char successly with psd->DrawPixel!
>> Furthermore,if it is an bitmapfont of another size then how?
>See my previous message, you'll have to load your own
.ttf font and use the truetype scaleable font handling
in microwindows.
If the truetype scaleable font, how much mem space does it need ?
>Regards,
>Greg
--
Best regards!
Aflar Van
?