Page 1 of 1

Help - GLCD not displaying larger font correctly

Posted: 08 Dec 2014 21:52
by Doug T
Hi

Created larger fonts with GLCD Font Creator, but only part of the fonts are displayed.
Have tried everything I've found on the forum but nothing seems to fix the problem.


Running Windows 7 (64bit)
Using MikroC Pro v6.4 and EasyPIC v7 development Board

This basic example to display the number "2" , but again only certain parts are displayed.

//GLCD FontName : Tahoma15x21
//GLCD FontSize : 15 x 21

const unsigned short Tahoma15x21[] = {
0x00,
0x00,
0x32,0x00,
0x32,0x00,
0x15,
0x00,
0x0F,0x0C,0x00,0x00,
0xF8,0x03,0xFF,0x0F,0xFF,0x1F,0xFF,0x1F,0x07,0x3F,0x01,0x3E,0x00,0x3E,0x00,0x3E,0x00,0x3E,0x00,0x1F,0x00,0x1F,0x80,0x0F,0xC0,0x07,0xE0,0x03,0xF0,0x01,0xF8,0x00,0x7E,0x00,0xFF,0x7F,0xFF,0x7F,0xFF,0x7F,0xFF,0x7F // Code for char num 50
};



void main() {

Glcd_Init(); // Initialize GLCD
Glcd_Fill(0x00); // Clear GLCD

Glcd_Set_Font_Adv(&Tahoma15x21,1,0);

Glcd_Write_Char_Adv('2',40,20);

Glcd_Write_Text_Adv("2",40,20);
}


Any help would be greatly appreciated.
Thanks!

Doug

Re: Help - GLCD not displaying larger font correctly

Posted: 10 Dec 2014 16:33
by darko.minic
Hello Doug,

Problem that you have probably occurs because of the size of the custom font that you want to create.

Please refer following link with the same problem:
https://www.mikroe.com/forum/viewtopic.php?f=97&t=55579

Regards,
Darko