layerFont

0 views
Skip to first unread message

肖琳

unread,
Nov 7, 2006, 12:55:55 PM11/7/06
to Hexa...@googlegroups.com
first I should apologize to WGZ. There is no problem with the  font bmp you sent....I made a mistake in calculating the height of the characters.
 
I can use the functions in layerFont.h to draw text on layer now. The code below is an example about how to use the functions in the header file.there still may be faults in the file , i'll try to debug more. but anyway, Lucky can use it now.
 
       layerActive(LAYER_TX);
       layerSetTranslucentRate(LAYER_TX,0);       
       layerFontInit();
       LayerKernelFontLoad("/system/font0.bmp",13,12,' ',0) ;
       multitaskerYield();
       layerDrawText("ABCDEFGHabcdefg",LAYER_TX,20,20,0);
       layerRender();
 
layerFont.h

guozhang wang

unread,
Nov 7, 2006, 1:00:16 PM11/7/06
to Hexa...@googlegroups.com
看来大家都在和OS熬啊.......Lucky都是你掀起的晚睡不良习惯,等这事儿完后你不给大家下厨做大餐的话后果......
 
 


 
2006/11/8, 肖琳 <jacki...@gmail.com>:



--
Computer Science and Engineering Department
Information Technology School
Fudan University,  200433
ShangHai
China.P.R

Lucky

unread,
Nov 7, 2006, 7:31:17 PM11/7/06
to Hexa...@googlegroups.com
我昨天晚上12点前睡的哈哈....XD

Lucky

unread,
Nov 8, 2006, 8:16:02 AM11/8/06
to Hexa...@googlegroups.com
WHERE IS YOUR FONT0.BMP??????????????????????????????
 
Why you guys keep making these kind of silly mistakes.@@..~~>.<~~
----- Original Message -----
From: 肖琳

肖琳

unread,
Nov 8, 2006, 9:59:38 AM11/8/06
to Hexa...@googlegroups.com
The bmp I use is the one WGZ sent, so forgot to send it to u.
 
it's attached.
 
2006/11/8, Lucky <luckyp...@hotmail.com>:
batang-bold-incl-10.bmp
Reply all
Reply to author
Forward
0 new messages