Creating a Large font?

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
nigelmercier
Posts: 316
Joined: 23 Oct 2008 09:36

Creating a Large font?

#1 Post by nigelmercier » 01 Feb 2016 12:44

I'm creating a font that spans several rows. My method is quite tedious:

Create the font, say 34 x 48 pixels based on Calibri 54pt Bold.
Optimise to trim blank rows.
Save the font.

Now comes the tedious bit:
Delete all rows except the first 8
Export the font for MikroE GLCD Lib, save in Word Document for more processing
Load the original font
Delete the first 8 rows
Repeat from above.

Is there a quicker way?

nigelmercier
Posts: 316
Joined: 23 Oct 2008 09:36

Re: Creating a Large font?

#2 Post by nigelmercier » 03 Feb 2016 09:45

I've found that if I use the option that requires X-GLCD Lib then I can export more than 8 rows in one pass. The data appear to have an additional control byte at the start of each array, followed by the actual display bytes.

Can anyone decode or explain the X-GLCD Lib format?

[Edit] I've attached the result of my first attempt at a large font (with my standard font showing debug info "999"). My method works, but it would be nice if it was a bit quicker to make changes.
Attachments
WaterGauge-007.png
WaterGauge-007.png (739.66 KiB) Viewed 3868 times

User avatar
biljana.nedeljkovic
mikroElektronika team
Posts: 1043
Joined: 30 Jun 2015 15:15

Re: Creating a Large font?

#3 Post by biljana.nedeljkovic » 04 Feb 2016 09:11

Hello,

You can take a look about the X-GLCD library in the Help file in the GLCD Font Creator, it is very detailed.
I suggest you to take a look at it before you start your project.

Basically, the original library has the limit to the maximum font size of 8 pixels, so the X-GLCD library is used for the fonts which are bigger.

You can find more about the library here:
http://www.mikroe.com/glcd-font-creator/

Kind regards,
Biljana

Post Reply

Return to “GLCD Font Creator Software”