Start a conversation

GLCD - Creating and using custom fonts

Download our GLCD Font Creator app.

GLCD Font Creator enables the creation of personalized fonts, symbols and icons for LCD's and GLCD's. Create fonts and symbols from scratch, or by importing existing fonts on your system. It lets you modify and adjust them for your needs, apply effects and finally export them as source code for use in mikroC, mikroBasic or mikroPascal compilers.

Open the application and click on "New Font Project" in the top left corner.

Select Import An Existing System Font if you want to use pre-made fonts or New Font From Scratch if you wish to create your own style.

The easiest and quickest way would be to import an existing style from the Windows font library.

After creating or importing desired font, click on Export for GLCD.

Now just copy the array for your desired language and paste it to the __Lib_GLCDFonts.c  file in Uses folder of your compiler.

You can now use the font you created from within your project by adding the name of your font set to the Set Font function.

For example, if you create a font set and name it Character8x7, then you would do the following: 


Glcd_Set_Font(Character8x7, 8, 7, 32);       // Choose font, see __Lib_GLCDFonts.c in Uses folder


Now, you will see text on the GLCD written in your own font style.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Strahinja Jacimovic

  2. Posted

Comments