TFT Font - Change Colon to Period?

Hi, I just got a 320x240 display and using the SevenSegment font there is no Decimal-Point (Period) or Colon.

I found an extended Font (Rinky-Dink Electronics) with a Colon, so what do I need to do to remove that top dot and convert it to a Period?

Here is the text defining the Colon, but I can't figure out what's what or where. I tried zeroing out the first group of numbers starting line 7, thinking it might be the top-dot, but that didn't work. :slight_smile:

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xE0,0x00,0x00,0x01,0xF0,0x00,
0x00,0x03,0xF8,0x00,0x00,0x03,0xF8,0x00,
0x00,0x03,0xF8,0x00,0x00,0x01,0xF0,0x00,
0x00,0x00,0xE0,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0x00,
0x00,0x01,0xF0,0x00,0x00,0x03,0xF8,0x00,
0x00,0x03,0xF8,0x00,0x00,0x03,0xF8,0x00,
0x00,0x01,0xF0,0x00,0x00,0x00,0xE0,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,ย  // :

Thanks for any help.

Thatโ€™s exactly what you needed to do, did you restart the IDE after you did that?

Regards,

Graham

Thanks but it is not that simple. After some more research, the characters need to be in contiguous ASCII chart order with the starting ASCII value defined and the total count of characters.

I found a program TTF2C that was supposed to convert TTF to C for Arduino, but that didn't work either.

Too hard. I am thinking of going back to the the Pi as a real prototyping device. These Arduino peripherals take too long to get working and the vendor support for items is generally useless. About one in five third party libraries actually work. Rinky Dink it all is. :slight_smile:

Granted, but if you print a ':' with the modified values, you will receive a '.' on screen. It is a bit of a bodge, but I can assure you it works! :wink:

Regards,

Graham