Help - GLCD not displaying larger font correctly

GLCD Font Creator software is the ultimate solution to create personalized fonts, symbols and icons for Graphic LCDs. It generates code compatible with All mikroElektronika compilers
Post Reply
Author
Message
Doug T
Posts: 1
Joined: 08 Dec 2014 20:48
Location: Queensland Australia

Help - GLCD not displaying larger font correctly

#1 Post by Doug T » 08 Dec 2014 21:52

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

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: Help - GLCD not displaying larger font correctly

#2 Post by darko.minic » 10 Dec 2014 16:33

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

Post Reply

Return to “GLCD Font Creator Software”