CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Fonts for GLCD

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
dyeatman



Joined: 06 Sep 2003
Posts: 1923
Location: Norman, OK

View user's profile Send private message

Fonts for GLCD
PostPosted: Wed Aug 27, 2008 3:16 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Aug 27, 2008 4:13 pm     Reply with quote

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: 1923
Location: Norman, OK

View user's profile Send private message

PostPosted: Wed Aug 27, 2008 9:09 pm     Reply with quote

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. Smile

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

View user's profile Send private message Visit poster's website

PostPosted: Thu Aug 28, 2008 8:03 am     Reply with quote

I have used this program called fongen
Some modification are needed for ccs.
Fonts scale to "any" size.
rotate flip mirror.
can do graphics too.
http://www.8052.com/users/bahrio/fontgen.phtml
octal



Joined: 15 Jan 2007
Posts: 39

View user's profile Send private message Visit poster's website

PostPosted: Thu Aug 28, 2008 11:43 am     Reply with quote

you can use GLCD Font Creator http://www.pocketmt.com

Regards
_________________
http://www.pocketmt.com the GLCD Font Creator home Smile
dyeatman



Joined: 06 Sep 2003
Posts: 1923
Location: Norman, OK

View user's profile Send private message

PostPosted: Thu Aug 28, 2008 1:13 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Jun 10, 2012 12:29 pm     Reply with quote

A software tool for converting images to graphic LCD and creating fonts for GLCD, please check bitmap2LCD

http://bitmap2lcd.com

I hope this helps !
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group