PixelFontCreator

Create custom CG-ram fonts of any size with your mouse.

(c) 2011 - Rohit Rawat
Email: rohitrawat@gmail.com
http://students.uta.edu/rx/rxr5243/PixelFontCreator/
June 11, 2011
No warranties. Please feel free to modify and re-distribute.

Provides an easy to use interface to draw custom fonts and graphics with the mouse
and save them as binary arrays in a text file. Each character is stored on a single
line, with all its rows concatenated. These may be processed by another program to
generate font matrices or header files suitable for your application/target compiler.

Note: After having made this, I came across GLCD Font Creator, a more functional, easier to use, and freeware tool. It is oriented towards Mikroelektronika compiler products, but I find its output suitable enough to use anywhere. Please check it out.

Motivation:
I needed to create 4x4 fonts (a very poor resolution) for an LED matrix I made with
a PIC microcontroller. I could only find standard 8x5 fonts, and no freeware tools
to create fonts of my own size
(Please see the GLCD Font Creator tool). This tool can
also be used for making non-English language fonts which are not built into LCD
controllers. A program to create an MPLAB C18 compiler matrix from the output
of this program is also available.

Suggested improvements:
- Grayscale / color support. Please contact me if you are interested and need guidance.
- Automatic generation of standard characters in any size or import of TTF files.

Requirements:
MS-Windows. Tested on Windows 7 & XP.

Download:
Source code: PixelFontCreator.cpp (preview)
Executable (win32): PixelFontCreator.exe

Screenshot:

  ■  |   Previous: ■■■
 ■■■ |             ■  ■
■ ■ ■|             ■  ■
  ■  |             ■■■
  ■  |             ■  ■
  ■  |             ■  ■
 ■ ■ |             ■■■
■   ■|
-----┘
Drawing# 13 Use your mouse to draw inside the box.
Enter to accept current character, Esc to stop entering characters and end,
C to clear all pixels, F to fill all pixels, R to duplicate previous drawing.

Back to home page.