EmbeddedRelated.com
Forums
Memfault Beyond the Launch

where to find a font array for graphical LCD

Started by Gus December 24, 2007
This seem simple but can't find it anywhere.

Anyone knows where I can find a raster font array for drawing fonts
on a graphical LCD? I can sit down and do every character but I am
sure it is already done a million times!

An Engineer's Guide to the LPC2100 Series

That would be perfect. Do you mind adding it to the file section on
this forum or email it to me? I need the C version if possible of 5x7

Thanks in advance

Gus
--- In l..., Dario Greggio wrote:
>
> Gus wrote:
>
> > Anyone knows where I can find a raster font array for drawing
fonts
> > on a graphical LCD? I can sit down and do every character but I am
> > sure it is already done a million times!
>
> I have some, 5x7 and 7x8 (IIRC), both as C and ASM array...
>
> --
> Ciao, Dario -- ADPM Synthesis sas -- http://www.adpm.tk
>
Gus wrote:

> That would be perfect. Do you mind adding it to the file section on
> this forum or email it to me? I need the C version if possible of 5x7

done both :)

HTH

& Merry XMas to everybody!

--
Ciao, Dario -- ADPM Synthesis sas -- http://www.adpm.tk
On Monday 24 December 2007 18:00:07 Gus wrote:
> This seem simple but can't find it anywhere.
>
> Anyone knows where I can find a raster font array for drawing fonts
> on a graphical LCD? I can sit down and do every character but I am
> sure it is already done a million times!

If I may advertise a little project of mine...

I had the very same problem a while back, and to make things worse I needed a
rather uncommon font-size. So instead of drawing them by hand I created a
little C-program to do that for me. It reads a 1bpp BMP image and creates a
font in C-arrays.

I placed it on my website a while back as part of fGUI, a little b/w graphics
thingy for microcontrollers, see http://bas.woodpecker.gotdns.org/fGUI.php

In the tools directory of the fGUI download, there's a bmpfont.c file, which
accepts a 1bpp BMP file (see
http://bas.woodpecker.gotdns.org/files/fGUI-font-example.bmp for an example,
use the '-r' flag whit bmpfont for thisone). It's written for GCC on Linux.
It's really all in a 'works-for-me' state, but it might do the trick for
you..

-Bas
> That would be perfect. Do you mind adding it to the file section on
> this forum or email it to me? I need the C version if possible of 5x7
>
In the file section, look in to GRLCD and GLCD_T6963.
You will find many fonts in header file format.
Warm Regards,

Mukund Deshmukh,
Beta Computronics Pvt Ltd.
10/1 IT Park, Parsodi,
Nagpur -440022 India.
Web site - http://betacomp.com

MEET US AT,

Chinaplas 2008, Shanghai, China.
Gus wrote:

> Anyone knows where I can find a raster font array for drawing fonts
> on a graphical LCD? I can sit down and do every character but I am
> sure it is already done a million times!

I have some, 5x7 and 7x8 (IIRC), both as C and ASM array...

--
Ciao, Dario -- ADPM Synthesis sas -- http://www.adpm.tk
http://www.mikrocontroller.net/topic/75124#new

there's a font tool posted in the link, can generate font array off
any system fonts, targeted for t6963c tho,but has sort of LCD sim.

--- In l..., "Gus" wrote:
>
> This seem simple but can't find it anywhere.
>
> Anyone knows where I can find a raster font array for drawing fonts
> on a graphical LCD? I can sit down and do every character but I am
> sure it is already done a million times!
>
Sorry for the suspense...
http://www.download.com/GLCD-Font-Creator/3000-2190_4-10719331.html

Kremer

--- Alexandre Kremer
escreveu:

> Hi
>
> May i suggest this free tool for this job? Ive
> done
> every kind of customized fonts and logos with that.
> Saves a lot of time. Oh, it converts the windows
> fonts
> to bitmaps and spits the .h
>
> Kremer
>
> --- Bastiaan van Kesteren
>
> escreveu:
>
> > On Monday 24 December 2007 18:00:07 Gus wrote:
> > > This seem simple but can't find it anywhere.
> > >
> > > Anyone knows where I can find a raster font
> array
> > for drawing fonts
> > > on a graphical LCD? I can sit down and do every
> > character but I am
> > > sure it is already done a million times!
> >
> > If I may advertise a little project of mine...
> >
> > I had the very same problem a while back, and to
> > make things worse I needed a
> > rather uncommon font-size. So instead of drawing
> > them by hand I created a
> > little C-program to do that for me. It reads a
> 1bpp
> > BMP image and creates a
> > font in C-arrays.
> >
> > I placed it on my website a while back as part of
> > fGUI, a little b/w graphics
> > thingy for microcontrollers, see
> > http://bas.woodpecker.gotdns.org/fGUI.php
> >
> > In the tools directory of the fGUI download,
> there's
> > a bmpfont.c file, which
> > accepts a 1bpp BMP file (see
> http://bas.woodpecker.gotdns.org/files/fGUI-font-example.bmp
> > for an example,
> > use the '-r' flag whit bmpfont for thisone). It's
> > written for GCC on Linux.
> > It's really all in a 'works-for-me' state, but it
> > might do the trick for
> > you..
> >
> > -Bas
> >
> >
> >
> >
Hi

May i suggest this free tool for this job? Ive done
every kind of customized fonts and logos with that.
Saves a lot of time. Oh, it converts the windows fonts
to bitmaps and spits the .h

Kremer

--- Bastiaan van Kesteren
escreveu:

> On Monday 24 December 2007 18:00:07 Gus wrote:
> > This seem simple but can't find it anywhere.
> >
> > Anyone knows where I can find a raster font array
> for drawing fonts
> > on a graphical LCD? I can sit down and do every
> character but I am
> > sure it is already done a million times!
>
> If I may advertise a little project of mine...
>
> I had the very same problem a while back, and to
> make things worse I needed a
> rather uncommon font-size. So instead of drawing
> them by hand I created a
> little C-program to do that for me. It reads a 1bpp
> BMP image and creates a
> font in C-arrays.
>
> I placed it on my website a while back as part of
> fGUI, a little b/w graphics
> thingy for microcontrollers, see
> http://bas.woodpecker.gotdns.org/fGUI.php
>
> In the tools directory of the fGUI download, there's
> a bmpfont.c file, which
> accepts a 1bpp BMP file (see
>
http://bas.woodpecker.gotdns.org/files/fGUI-font-example.bmp
> for an example,
> use the '-r' flag whit bmpfont for thisone). It's
> written for GCC on Linux.
> It's really all in a 'works-for-me' state, but it
> might do the trick for
> you..
>
> -Bas
>
>
Alexandre Kremer wrote:

> Sorry for the suspense...
>
> http://www.download.com/GLCD-Font-Creator/3000-2190_4-10719331.html
>

thank you very much :)

--
Ciao, Dario

Memfault Beyond the Launch