Adafruit GFX new font?
Moderators: adafruit_support_bill, adafruit

Adafruit GFX new font?

by pigman on Sun May 20, 2012 10:44 am

Hi,

Is it possible to create/convert a font over to work with the GFX Library?

I'm keen to create another font for the screen.

Cheers
pigman
 
Posts: 5
Joined: Tue May 08, 2012 6:45 pm

Re: Adafruit GFX new font?

by adafruit on Mon May 21, 2012 3:26 pm

you can, we have no documentation or tutorials on how to create a new font
User avatar
adafruit
 
Posts: 11739
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Adafruit GFX new font?

by pburgess on Mon May 21, 2012 3:30 pm

This thread, as well as picking through the Adafruit_GFX library source, might give some insights for how an alternate font can be implemented.
User avatar
pburgess
 
Posts: 2733
Joined: Sun Oct 26, 2008 2:29 am

Re: Adafruit GFX new font?

by punktown on Sat Jun 23, 2012 11:03 pm

I've been thinking about making a glyph editor for this font as well.

Have you made any progress, pigman? Anyone else done work in this direction?
If not i'll share what I come up with.
punktown
 
Posts: 3
Joined: Sat Jun 23, 2012 10:28 pm

Re: Adafruit GFX new font?

by pigman on Sun Jun 24, 2012 8:42 am

Hey, no haven't made any progress with it as yet. I have been looking at utft lately they have a font creator I think but haven't had time to do much with that either :( let use all know your progress
pigman
 
Posts: 5
Joined: Tue May 08, 2012 6:45 pm

Re: Adafruit GFX new font?

by punktown on Wed Jun 27, 2012 9:32 pm

Ok, I've got an editor worked up. I did it in Excel to take advantage of some formatting and editing conveniences. It gives a visualization of each glyph from the Adafruit_GFX lib 5x7 font, and lets you edit and get revised output to a custom version of the font file (glcdfont.c).

There are 2 versions in the zip:
GlyphEditor_5x7.xlsx: This is the best one, uses Excel conditional formatting rules for a nicer matrix visualization. May not work in other spreadsheet editing programs.
GlyphEditor_5x7-textonly.xlsx: If the one above just shows ones and zeroes in the matrix viz in your spreadsheeting program, use this one instead. It does not use conditional formatting.

Let me know how it works out for you.
Attachments
GlyphEditor_5x7.zip
Glyph Editor for Adafruit_GFX Library 5x7 font.
(919.02 KiB) Downloaded 347 times
punktown
 
Posts: 3
Joined: Sat Jun 23, 2012 10:28 pm