Looking for LCD font files

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all,

 

I've been trying, with no success, do obtain the raw binary font files used in LCD displays (for example, the Hitachi A00 and A02 character set, as well as Noritake G57131.cg and G57206.cg files).

 

The CLOSEST I've come has been to download image files from http://mmdolze.users.sourceforge... and then scan them with software to find the light and dark "pixels", then converting it into a file that I can load into PROGMEM and use to generate text on a graphics LCD.

 

The problem is that these font images, although quite nice, are not exactly the same as the Hitachi or Noritake fonts.  Sitting at a graphics editor and copying them bit-by-bit from the Hitachi/Noritake data sheets is error prone and frankly too much work.

 

So... any ideas where to get these raw bitmap files?

 

For clarity, this is the kind of thing that I want to END UP with. I don't care if the original data is in a different format - I can handle that. But what I want to do is create exact font images of popular LCD fonts:

 

static const uint8_t hd44780u[] PROGMEM = {

    0x06, // width (base + 0)
    0x08, // height (base + 1)
    0x00, // horizontal gap (base + 2)
    0x00, // vertical gap (base + 3)
    0x10, // first char (base + 4)
    0xFF, // last char (base + 5)
    0x06, // bytes per char (base + 6)

    0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, // |     0x10
    0x7F, 0x7F, 0x00, 0x00, 0x00, 0x00, // ||    0x11
    0x7F, 0x7F, 0x7F, 0x00, 0x00, 0x00, // |||   0x12
    0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00, // ||||  0x13
    0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, // ||||| 0x14
    0x00, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, //  |||| 0x15
    0x00, 0x00, 0x7F, 0x7F, 0x7F, 0x00, //   ||| 0x16
    0x00, 0x00, 0x00, 0x7F, 0x7F, 0x00, //    || 0x17
    0x00, 0x00, 0x00, 0x00, 0x7F, 0x00, //     | 0x18
    0x60, 0x70, 0x3F, 0x02, 0x1C, 0x00, // Music 0x19
    0x03, 0x33, 0x48, 0x48, 0x48, 0x00, // Deg C 0x1A
    0x03, 0x7B, 0x28, 0x28, 0x08, 0x00, // Deg F 0x1B
    0x04, 0x0C, 0x1C, 0x0C, 0x04, 0x00, // Down  0x1C
    0x00, 0x3E, 0x1C, 0x08, 0x00, 0x00, // Right 0x1D
    0x00, 0x08, 0x1C, 0x3E, 0x00, 0x00, // Left  0x1E
    0x10, 0x18, 0x1C, 0x18, 0x10, 0x00, // Up    0x1F
    /////// lots more SNIP ////////
};

 

 

Thanks!

Gentlemen may prefer Blondes, but Real Men prefer Redheads!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Bob.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks! That will be a big help!

 

Gentlemen may prefer Blondes, but Real Men prefer Redheads!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There is an item called the GLCD font creator that will convert True Type fonts to bitmap fonts for you.  It is on this page:

 

https://www.mikroe.com/supportin...