nanogui: problem using bigger fonts
Subject:
problem using bigger fonts
From:
####@####.####
Date:
10 Jan 2006 09:15:16 +0000
Message-Id: <35246.61.246.192.75.1136884317.squirrel@mail.divinetaccess.com>
Hi,
I have successfully ported nanox to ST40 and its working fine. But I
have problem using fonts with more than 16 bit width. When such font
is used it displays garbage. When searched in the code I found that
MWIMAGE_BITSPERIMAGE defined to have 16 bits (mwtypes.h). I still dont
know what is the exact problem, Is this MWIMAGE_BITSPERIMAGE limiting
factor?. For all fonts which are having size less than 16 bits, it works
correctly.
I am adding additional fonts to gen_fonts array (genfont.c) and using
variable width font.
Please let me know how to handle fonts with bigger bitmap. I am
displaying text on TV screen so 16 bit bitmap gives very small glyph
and is not readable (from considerable distance).
Any suggestions are highly appreciated.
Thanks,
Atul