CHAVA-MOLINA / arduino-tvout

Automatically exported from code.google.com/p/arduino-tvout
0 stars 0 forks source link

Extended ASCII font chars (>127) #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Printing chars with codes > 127 crashes program.
It can be easily fixed by using unsigned char instead of signed:

virtual void print_char(uint8_t, uint8_t, unsigned char) = 0;

Also, after fix, you can use full ASCII character set at file ascii8x8.h
(sample files is attached)

Original issue reported on code.google.com by pewpew...@gmail.com on 21 Oct 2010 at 7:18

Attachments:

GoogleCodeExporter commented 8 years ago
I have fixed print_char to accept extended ascii however I will not include an 
extended character set by default.  I am however going to include a method for 
using a user defined character set such as this.  I expect to remove the 4x6 
and 8x8 font sets and make them easily usable in the same fashion to cut back 
on flash use(doing this would save almost 2k of flash if only using the 
5x7(actually 6x8)).

Original comment by mdmetzle@gmail.com on 25 Oct 2010 at 1:54

GoogleCodeExporter commented 8 years ago

Original comment by mdmetzle@gmail.com on 25 Oct 2010 at 1:56

GoogleCodeExporter commented 8 years ago

Original comment by mdmetzle@gmail.com on 4 Nov 2010 at 1:43