Changing character size in Lcd.draw_number() Arduino

Moderators: lily.li, violet, jessie, chao.zhang

Post Reply
guitarecoco
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Fri Mar 04, 2016 6:17 am

Changing character size in Lcd.draw_number() Arduino

Post by guitarecoco » Fri Mar 04, 2016 6:20 am

I've been playing with the Arduino IDE and the rephone and I was wondering if there was a way to change character size, font or anything else (bold, italic, etc). I haven't found anything looking through the .h file so I was wondering if there was something I missed, or if I'd have to try implementing it on my own.

Thanks for the help.

jinyuan.weng
Pre-kindergarten
Pre-kindergarten
Posts: 33
Joined: Tue Jan 26, 2016 5:17 pm

Re: Changing character size in Lcd.draw_number() Arduino

Post by jinyuan.weng » Fri Mar 04, 2016 3:34 pm

guitarecoco wrote:I've been playing with the Arduino IDE and the rephone and I was wondering if there was a way to change character size, font or anything else (bold, italic, etc). I haven't found anything looking through the .h file so I was wondering if there was something I missed, or if I'd have to try implementing it on my own.

Thanks for the help.
Hi,
These is a api "vm_graphic_set_font_size()" in file " ..\Arduino_IDE_for_RePhone\hardware\arduino\mtk\system\libmtk\include\vmgraphic_font.h "
can change font size. You can check it in file"..\Arduino_IDE_for_RePhone\hardware\arduino\mtk\libraries\LDisplay\utility\Display.cpp" on line 141 and 194.

Post Reply