View previous topic :: View next topic |
Author |
Message |
dyeatman
Joined: 06 Sep 2003 Posts: 1933 Location: Norman, OK
|
Fonts for GLCD |
Posted: Wed Aug 27, 2008 3:16 pm |
|
|
I am working on a pretty extensive CCS based GLCD and Touch screen code project. I am needing some additional GLCD font definitions for inclusion in my code but, since I only need a few fonts, I would prefer not to purchase an entire font creation package (like Font Creator). Anyone got any ideas short of me hand creating them?
Dave |
|
|
rberek
Joined: 10 Jan 2005 Posts: 207 Location: Ottawa, Canada
|
|
Posted: Wed Aug 27, 2008 4:13 pm |
|
|
I recently generated some fonts for a KS0108 GLCD (specifically, the digits 0-9). I used PhotoShop and selected a font I liked, then created a new image for each digit. I reduced the image size to the correct aspect ratio and number of pixels for each digit (in my case 16x32) and saved it as a .bmp file.
I then used a freeware program called LCD Assistant which takes the bitmap and saves it as an appropriate byte array for the KS0108 controller, which was easily used in the C program.
It may not be the slickest process, but I used what I had access to, and I did this during two back-to-back reruns of "King of Queens", so it wasn't too time consuming. Might be more painful if I had dozens of fonts to process.
r.b. |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1933 Location: Norman, OK
|
|
Posted: Wed Aug 27, 2008 9:09 pm |
|
|
rberek,
Thanks for the ref to LCD assistant. It seems be a good way to convert the bitmaps and works well for that. Not ideal but definitely something that works in a pinch.
Dave
Last edited by dyeatman on Mon Sep 01, 2008 8:07 am; edited 1 time in total |
|
|
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
|
|
|
octal
Joined: 15 Jan 2007 Posts: 39
|
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1933 Location: Norman, OK
|
|
Posted: Thu Aug 28, 2008 1:13 pm |
|
|
I'll have to figure out the best way to go from here with all my options.
Thanks everyone for all the suggestions! |
|
|
Bernaco
Joined: 10 Jun 2012 Posts: 1
|
|
Posted: Sun Jun 10, 2012 12:29 pm |
|
|
A software tool for converting images to graphic LCD and creating fonts for GLCD, please check bitmap2LCD
http://bitmap2lcd.com
I hope this helps ! |
|
|
|