Go Down

Topic: SOLVED! Looking for a 5x8 LCD extended ASCII font — characters 32-255 (Read 3350 times) previous topic - next topic

avenue33

Hi!

I'm looking for a 6x8 font which includes the extended ASCII characters as described at http://www.ascii-code.com
Languages like French and Spanish use many letters with accents which are in the extended ASCII characters set.

Quote
The extended ASCII codes (character code 128-255)
There are several different variations of the 8-bit ASCII table. The table below is according to ISO 8859-1, also called ISO Latin-1. Codes 129-159 contain the Microsoft® Windows Latin-1 extended characters.


I've tried different solutions:

  • using MikroElectronica free font generator and importing a Windows font. The Terminal font doesn't include the extended ASCII characters and the other fonts don't feature a 6x8 size.

  • reducing 8x8 to 6x8 with the same tool. Too many letters are impossible to read.

  • looking for a fixed-sized Windows font with 6x8 size. Google throws too many false-positive results.

  • designing the characters from 128 to 255. But it's slow and requires a lot of time!



Thank you for your help.

CrossRoads

Quote
designing the characters from 128 to 255. But it's slow and requires a lot of time!


Like Nike says: Just Do It!
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Riva

Quote
The Terminal font doesn't include the extended ASCII characters and the other fonts don't feature a 6x8 size.

Maybe the software does not support extended character set as it's in my Terminal font.

olikraus

For my Arduino graphics lib "u8glib" i have include several 100 fonts. Most of them with extended chars.
http://code.google.com/p/u8glib/wiki/fontsize

I decided to derive the internal font format from the plain text font format "bdf".
http://en.wikipedia.org/wiki/Glyph_Bitmap_Distribution_Format

BDF is not that common, but still a lot of fonts are available and BDF can also be derived from TTF.

U8glib includes a bdf converter and bdf font procedures.
All in all u8glib can display any glyph from unicode space.

Oliver



avenue33


Quote
designing the characters from 128 to 255. But it's slow and requires a lot of time!


Like Nike says: Just Do It!


...what's the ASCII code for the swash?  :)


olikraus

u8glib is distributed under the BSD license. So all the code could be used in other projects also. Just take over the code from here:
http://code.google.com/p/u8glib/source/browse/csrc/u8g_font.c
Then you could use any existing u8glib font.

Oliver

CrossRoads

Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

avenue33

Finally, it took the last solution,
Quote
designing the characters from 128 to 255. But it's slow and requires a lot of time!

with MikroElectronica free font generator

Actually, there are only 64 additional characters to define, 0xA0 to 0xFF on the ISO-8859-1 tablea.

I'm not using the Arduino IDE, so the characters are coded in UTF8 and need to be translated into ISO-8859-1.

Thanks for your help, links and ideas!

Go Up