Pulling My Thinning Hair out - ST7735 Font Change Adafruit

Hello There everyone -

Currently pulling my hair compleatly out , ive searched these forums and read and tried 1000 libraries and ways around this..................im new to Arduino and i suspect im doing something really fundamentally stupid............. Can one of you point me the right way

I cannot get fonts to change at all , even using the GFX library i keep running into the same problem tft.setFont just give me a Void fault

This is my code - All i want is all the labels to print in the same font , smaller for the titles bigger for the numbers , ill deal with the sizing once ive managed to at least change them

If i remove any font instrugtion the sketch works fine-ish bar some fiddling

Compilation error: no matching function for call to 'Adafruit_ST7735::setFont(const char [1558])' Thats the error im getting

Libraries are all up to date , ive tried using ather libraries to no success..........

Im Using a Nano Board with ATmega328p

#include <Adafruit_GFX.h>
#include <Adafruit_ST7735.h> // include the Adafruit ST7735 library

#include <Fonts/Orbitron_Bold_7.h> 
 
#define TFT_CS 10 // define TFT CS pin
#define TFT_RST 9 // define TFT RST pin
#define TFT_DC 8 // define TFT DC pin

Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_RST); /

#define WATER_TEMP_PIN A0 
#define OIL_PRESSURE_PIN A1 
#define TURBO_TEMP_PIN A2 // 

#define WATER_TEMP_LABEL "Water Temp" 
#define OIL_PRESSURE_LABEL "Oil Pres"
#define TURBO_TEMP_LABEL "Chargecooler" 
#define WATER_TEMP_MIN 0 
#define WATER_TEMP_MAX 120  
#define RED 0xF800 
#define ORANGE FFA500

void setup() {
  tft.initR(INITR_BLACKTAB); 
  tft.setRotation(3);
  tft.fillScreen(ST7735_BLACK);
  tft.setFont(&Orbitron_Bold_7);  
  }

void loop() {
 
  int waterTemp = map(analogRead(WATER_TEMP_PIN), 0, 1023, WATER_TEMP_MIN, WATER_TEMP_MAX);
  int oilPressure = analogRead(OIL_PRESSURE_PIN);
  int turboTemp = analogRead(TURBO_TEMP_PIN);
  
  
  tft.fillRect(0, 70, 130, 80, ST7735_BLACK);
 
  int waterTempBarWidth = map(waterTemp, WATER_TEMP_MIN, WATER_TEMP_MAX, -10, 160);
  tft.fillRect(0, 104, waterTempBarWidth, 120, ST7735_ORANGE);
  
  tft.setCursor(50, 70);
  tft.setTextColor(ST7735_ORANGE);
  tft.setTextSize(0);
  tft.print(WATER_TEMP_LABEL);
  
  tft.setCursor(53, 85);
  tft.setTextColor(ST7735_ORANGE);
  tft.setTextSize(2);
  tft.print(waterTemp);
  tft.print(" C");
  
  if (waterTemp > 110) {
    tft.fillScreen(RED);
  }
  
  tft.drawLine(0, 64, 160, 64, ST7735_ORANGE);
  tft.drawLine(80, 64, 80, 0, ST7735_ORANGE);
  
  tft.setCursor(15, 10);
  tft.setTextColor(ST7735_ORANGE);
  tft.setTextSize(1);
  tft.print(OIL_PRESSURE_LABEL);
  
  tft.setCursor(7, 30);
  tft.setTextColor(ST7735_ORANGE);
  tft.setTextSize(2);
  tft.print(oilPressure);
  tft.setTextSize(1);
  tft.print(" Psi");
 
  tft.setCursor(85, 10);
  tft.setTextColor(ST7735_ORANGE);
  tft.setTextSize(1);
  tft.print(TURBO_TEMP_LABEL);
  
  tft.setCursor(92, 30);
  tft.setTextColor(ST7735_ORANGE);
  tft.setTextSize(2);
  tft.print(turboTemp);
  tft.print(" C");
  
  delay(1000);
}


Many Thanks for your collective help. My Hopes to provide this code to other petrol/Gearheads so they can make something similar

Instead of. this:

  tft.setFont(Cont Orbitron_Bold_7)  

Adafruit docs suggest:

  tft.setFont(&Orbitron_Bold_7) ;

Not tested. Or even compiled in fact :wink:

Ahhhhhh , I Copied my code earlier before i tried the

(&orbitron_bold_7) ;

Still get the

Compilation error: no matching function for call to 'Adafruit_ST7735::setFont(const char (*)[1558])'

you are supposed to pass the pointer to the font structure, but you seem to be passing a pointer to a char array. Is the font you specify a GFX font specifically ?

from adafruit_GFX.cpp

void Adafruit_GFX::setFont(const GFXfont *f) {
  if (f) {          // Font struct pointer passed in?
    if (!gfxFont) { // And no current font struct?
      // Switching from classic to new font behavior.
      // Move cursor pos down 6 pixels so it's on baseline.
      cursor_y += 6;
    }
  } else if (gfxFont) { // NULL passed.  Current font struct defined?
    // Switching from new to classic font behavior.
    // Move cursor pos up 6 pixels so it's at top-left of char.
    cursor_y -= 6;
  }
  gfxFont = (GFXfont *)f;
}

The Font isnt GFX Specific , but i have added it to the GFX Library in H format

sorry if my explinations are rubbish , i am very new to this

Can you post your font file?

// Created by https://oleddisplay.squix.ch/ Consider a donation
// In case of problems make sure that you are using the font file with the correct version!
const char Orbitron_Bold_7[] PROGMEM = {
	0x0A, // Width: 10
	0x08, // Height: 8
	0x20, // First Char: 32
	0xE0, // Numbers of Chars: 224

	// Jump Table:
	0xFF, 0xFF, 0x00, 0x02,  // 32:65535
	0x00, 0x00, 0x01, 0x02,  // 33:0
	0x00, 0x01, 0x02, 0x03,  // 34:1
	0x00, 0x03, 0x05, 0x06,  // 35:3
	0x00, 0x08, 0x05, 0x06,  // 36:8
	0x00, 0x0D, 0x06, 0x07,  // 37:13
	0x00, 0x13, 0x06, 0x07,  // 38:19
	0x00, 0x19, 0x01, 0x02,  // 39:25
	0x00, 0x1A, 0x02, 0x02,  // 40:26
	0x00, 0x1C, 0x02, 0x02,  // 41:28
	0x00, 0x1E, 0x03, 0x03,  // 42:30
	0x00, 0x21, 0x03, 0x03,  // 43:33
	0x00, 0x24, 0x01, 0x02,  // 44:36
	0x00, 0x25, 0x03, 0x04,  // 45:37
	0x00, 0x28, 0x01, 0x02,  // 46:40
	0x00, 0x29, 0x04, 0x04,  // 47:41
	0x00, 0x2D, 0x05, 0x06,  // 48:45
	0x00, 0x32, 0x03, 0x03,  // 49:50
	0x00, 0x35, 0x05, 0x06,  // 50:53
	0x00, 0x3A, 0x05, 0x06,  // 51:58
	0x00, 0x3F, 0x05, 0x05,  // 52:63
	0x00, 0x44, 0x05, 0x06,  // 53:68
	0x00, 0x49, 0x05, 0x06,  // 54:73
	0x00, 0x4E, 0x04, 0x05,  // 55:78
	0x00, 0x52, 0x05, 0x06,  // 56:82
	0x00, 0x57, 0x05, 0x06,  // 57:87
	0x00, 0x5C, 0x01, 0x02,  // 58:92
	0x00, 0x5D, 0x01, 0x02,  // 59:93
	0x00, 0x5E, 0x03, 0x03,  // 60:94
	0x00, 0x61, 0x04, 0x04,  // 61:97
	0x00, 0x65, 0x03, 0x03,  // 62:101
	0x00, 0x68, 0x05, 0x05,  // 63:104
	0x00, 0x6D, 0x05, 0x06,  // 64:109
	0x00, 0x72, 0x05, 0x06,  // 65:114
	0x00, 0x77, 0x05, 0x06,  // 66:119
	0x00, 0x7C, 0x05, 0x06,  // 67:124
	0x00, 0x81, 0x05, 0x06,  // 68:129
	0x00, 0x86, 0x05, 0x05,  // 69:134
	0x00, 0x8B, 0x05, 0x05,  // 70:139
	0x00, 0x90, 0x05, 0x06,  // 71:144
	0x00, 0x95, 0x06, 0x06,  // 72:149
	0x00, 0x9B, 0x01, 0x02,  // 73:155
	0x00, 0x9C, 0x05, 0x05,  // 74:156
	0x00, 0xA1, 0x05, 0x06,  // 75:161
	0x00, 0xA6, 0x05, 0x05,  // 76:166
	0x00, 0xAB, 0x06, 0x07,  // 77:171
	0x00, 0xB1, 0x05, 0x06,  // 78:177
	0x00, 0xB6, 0x05, 0x06,  // 79:182
	0x00, 0xBB, 0x05, 0x06,  // 80:187
	0x00, 0xC0, 0x06, 0x06,  // 81:192
	0x00, 0xC6, 0x05, 0x06,  // 82:198
	0x00, 0xCB, 0x05, 0x06,  // 83:203
	0x00, 0xD0, 0x05, 0x05,  // 84:208
	0x00, 0xD5, 0x05, 0x06,  // 85:213
	0x00, 0xDA, 0x07, 0x07,  // 86:218
	0x00, 0xE1, 0x08, 0x08,  // 87:225
	0x00, 0xE9, 0x05, 0x06,  // 88:233
	0x00, 0xEE, 0x06, 0x06,  // 89:238
	0x00, 0xF4, 0x05, 0x06,  // 90:244
	0x00, 0xF9, 0x02, 0x02,  // 91:249
	0x00, 0xFB, 0x04, 0x04,  // 92:251
	0x00, 0xFF, 0x02, 0x02,  // 93:255
	0xFF, 0xFF, 0x00, 0x00,  // 94:65535
	0x01, 0x01, 0x05, 0x06,  // 95:257
	0x01, 0x06, 0x01, 0x01,  // 96:262
	0x01, 0x07, 0x04, 0x05,  // 97:263
	0x01, 0x0B, 0x05, 0x05,  // 98:267
	0x01, 0x10, 0x04, 0x05,  // 99:272
	0x01, 0x14, 0x04, 0x05,  // 100:276
	0x01, 0x18, 0x04, 0x05,  // 101:280
	0x01, 0x1C, 0x03, 0x03,  // 102:284
	0x01, 0x1F, 0x04, 0x05,  // 103:287
	0x01, 0x23, 0x05, 0x05,  // 104:291
	0x01, 0x28, 0x01, 0x02,  // 105:296
	0x01, 0x29, 0x01, 0x02,  // 106:297
	0x01, 0x2A, 0x04, 0x05,  // 107:298
	0x01, 0x2E, 0x02, 0x02,  // 108:302
	0x01, 0x30, 0x06, 0x07,  // 109:304
	0x01, 0x36, 0x05, 0x05,  // 110:310
	0x01, 0x3B, 0x04, 0x05,  // 111:315
	0x01, 0x3F, 0x05, 0x05,  // 112:319
	0x01, 0x44, 0x04, 0x05,  // 113:324
	0x01, 0x48, 0x04, 0x04,  // 114:328
	0x01, 0x4C, 0x04, 0x05,  // 115:332
	0x01, 0x50, 0x03, 0x03,  // 116:336
	0x01, 0x53, 0x05, 0x05,  // 117:339
	0x01, 0x58, 0x05, 0x06,  // 118:344
	0x01, 0x5D, 0x07, 0x07,  // 119:349
	0x01, 0x64, 0x05, 0x05,  // 120:356
	0x01, 0x69, 0x04, 0x05,  // 121:361
	0x01, 0x6D, 0x05, 0x05,  // 122:365
	0x01, 0x72, 0x02, 0x02,  // 123:370
	0x01, 0x74, 0x01, 0x02,  // 124:372
	0x01, 0x75, 0x02, 0x02,  // 125:373
	0x01, 0x77, 0x03, 0x03,  // 126:375
	0xFF, 0xFF, 0x00, 0x00,  // 127:65535
	0xFF, 0xFF, 0x00, 0x00,  // 128:65535
	0xFF, 0xFF, 0x00, 0x00,  // 129:65535
	0xFF, 0xFF, 0x00, 0x00,  // 130:65535
	0xFF, 0xFF, 0x00, 0x00,  // 131:65535
	0xFF, 0xFF, 0x00, 0x00,  // 132:65535
	0xFF, 0xFF, 0x00, 0x00,  // 133:65535
	0xFF, 0xFF, 0x00, 0x00,  // 134:65535
	0xFF, 0xFF, 0x00, 0x00,  // 135:65535
	0xFF, 0xFF, 0x00, 0x00,  // 136:65535
	0xFF, 0xFF, 0x00, 0x00,  // 137:65535
	0xFF, 0xFF, 0x00, 0x00,  // 138:65535
	0xFF, 0xFF, 0x00, 0x00,  // 139:65535
	0xFF, 0xFF, 0x00, 0x00,  // 140:65535
	0xFF, 0xFF, 0x00, 0x00,  // 141:65535
	0xFF, 0xFF, 0x00, 0x00,  // 142:65535
	0xFF, 0xFF, 0x00, 0x00,  // 143:65535
	0xFF, 0xFF, 0x00, 0x00,  // 144:65535
	0xFF, 0xFF, 0x00, 0x00,  // 145:65535
	0xFF, 0xFF, 0x00, 0x00,  // 146:65535
	0xFF, 0xFF, 0x00, 0x00,  // 147:65535
	0xFF, 0xFF, 0x00, 0x00,  // 148:65535
	0xFF, 0xFF, 0x00, 0x00,  // 149:65535
	0xFF, 0xFF, 0x00, 0x00,  // 150:65535
	0xFF, 0xFF, 0x00, 0x00,  // 151:65535
	0xFF, 0xFF, 0x00, 0x00,  // 152:65535
	0xFF, 0xFF, 0x00, 0x00,  // 153:65535
	0xFF, 0xFF, 0x00, 0x00,  // 154:65535
	0xFF, 0xFF, 0x00, 0x00,  // 155:65535
	0xFF, 0xFF, 0x00, 0x00,  // 156:65535
	0xFF, 0xFF, 0x00, 0x00,  // 157:65535
	0xFF, 0xFF, 0x00, 0x00,  // 158:65535
	0xFF, 0xFF, 0x00, 0x00,  // 159:65535
	0xFF, 0xFF, 0x00, 0x00,  // 160:65535
	0x01, 0x7A, 0x01, 0x01,  // 161:378
	0x01, 0x7B, 0x04, 0x04,  // 162:379
	0x01, 0x7F, 0x05, 0x05,  // 163:383
	0xFF, 0xFF, 0x00, 0x00,  // 164:65535
	0xFF, 0xFF, 0x00, 0x00,  // 165:65535
	0xFF, 0xFF, 0x00, 0x00,  // 166:65535
	0xFF, 0xFF, 0x00, 0x00,  // 167:65535
	0x01, 0x84, 0x03, 0x03,  // 168:388
	0xFF, 0xFF, 0x00, 0x00,  // 169:65535
	0xFF, 0xFF, 0x00, 0x00,  // 170:65535
	0xFF, 0xFF, 0x00, 0x00,  // 171:65535
	0xFF, 0xFF, 0x00, 0x00,  // 172:65535
	0xFF, 0xFF, 0x00, 0x00,  // 173:65535
	0xFF, 0xFF, 0x00, 0x00,  // 174:65535
	0xFF, 0xFF, 0x00, 0x00,  // 175:65535
	0x01, 0x87, 0x03, 0x03,  // 176:391
	0xFF, 0xFF, 0x00, 0x00,  // 177:65535
	0xFF, 0xFF, 0x00, 0x00,  // 178:65535
	0xFF, 0xFF, 0x00, 0x00,  // 179:65535
	0x01, 0x8A, 0x01, 0x01,  // 180:394
	0xFF, 0xFF, 0x00, 0x00,  // 181:65535
	0x01, 0x8B, 0x05, 0x06,  // 182:395
	0xFF, 0xFF, 0x00, 0x00,  // 183:65535
	0x01, 0x90, 0x01, 0x01,  // 184:400
	0xFF, 0xFF, 0x00, 0x00,  // 185:65535
	0xFF, 0xFF, 0x00, 0x00,  // 186:65535
	0xFF, 0xFF, 0x00, 0x00,  // 187:65535
	0xFF, 0xFF, 0x00, 0x00,  // 188:65535
	0xFF, 0xFF, 0x00, 0x00,  // 189:65535
	0xFF, 0xFF, 0x00, 0x00,  // 190:65535
	0x01, 0x91, 0x05, 0x05,  // 191:401
	0x01, 0x96, 0x05, 0x06,  // 192:406
	0x01, 0x9B, 0x05, 0x06,  // 193:411
	0x01, 0xA0, 0x05, 0x06,  // 194:416
	0x01, 0xA5, 0x05, 0x06,  // 195:421
	0x01, 0xAA, 0x05, 0x06,  // 196:426
	0x01, 0xAF, 0x05, 0x06,  // 197:431
	0x01, 0xB4, 0x09, 0x0A,  // 198:436
	0x01, 0xBD, 0x05, 0x06,  // 199:445
	0x01, 0xC2, 0x05, 0x05,  // 200:450
	0x01, 0xC7, 0x05, 0x05,  // 201:455
	0x01, 0xCC, 0x05, 0x05,  // 202:460
	0x01, 0xD1, 0x05, 0x05,  // 203:465
	0x01, 0xD6, 0x02, 0x02,  // 204:470
	0x01, 0xD8, 0x01, 0x02,  // 205:472
	0x01, 0xD9, 0x02, 0x02,  // 206:473
	0x01, 0xDB, 0x02, 0x02,  // 207:475
	0xFF, 0xFF, 0x00, 0x00,  // 208:65535
	0x01, 0xDD, 0x05, 0x06,  // 209:477
	0x01, 0xE2, 0x05, 0x06,  // 210:482
	0x01, 0xE7, 0x05, 0x06,  // 211:487
	0x01, 0xEC, 0x05, 0x06,  // 212:492
	0x01, 0xF1, 0x05, 0x06,  // 213:497
	0x01, 0xF6, 0x05, 0x06,  // 214:502
	0x01, 0xFB, 0x04, 0x04,  // 215:507
	0xFF, 0xFF, 0x00, 0x00,  // 216:65535
	0x01, 0xFF, 0x05, 0x06,  // 217:511
	0x02, 0x04, 0x05, 0x06,  // 218:516
	0x02, 0x09, 0x05, 0x06,  // 219:521
	0x02, 0x0E, 0x05, 0x06,  // 220:526
	0x02, 0x13, 0x06, 0x06,  // 221:531
	0xFF, 0xFF, 0x00, 0x00,  // 222:65535
	0x02, 0x19, 0x05, 0x06,  // 223:537
	0x02, 0x1E, 0x04, 0x05,  // 224:542
	0x02, 0x22, 0x04, 0x05,  // 225:546
	0x02, 0x26, 0x04, 0x05,  // 226:550
	0x02, 0x2A, 0x04, 0x05,  // 227:554
	0x02, 0x2E, 0x04, 0x05,  // 228:558
	0x02, 0x32, 0x04, 0x05,  // 229:562
	0x02, 0x36, 0x08, 0x08,  // 230:566
	0x02, 0x3E, 0x04, 0x05,  // 231:574
	0x02, 0x42, 0x04, 0x04,  // 232:578
	0x02, 0x46, 0x04, 0x04,  // 233:582
	0x02, 0x4A, 0x04, 0x04,  // 234:586
	0x02, 0x4E, 0x04, 0x04,  // 235:590
	0x02, 0x52, 0x01, 0x02,  // 236:594
	0x02, 0x53, 0x02, 0x02,  // 237:595
	0x02, 0x55, 0x02, 0x02,  // 238:597
	0x02, 0x57, 0x02, 0x02,  // 239:599
	0xFF, 0xFF, 0x00, 0x00,  // 240:65535
	0x02, 0x59, 0x05, 0x05,  // 241:601
	0x02, 0x5E, 0x04, 0x05,  // 242:606
	0x02, 0x62, 0x04, 0x05,  // 243:610
	0x02, 0x66, 0x04, 0x05,  // 244:614
	0x02, 0x6A, 0x04, 0x05,  // 245:618
	0x02, 0x6E, 0x04, 0x05,  // 246:622
	0x02, 0x72, 0x04, 0x04,  // 247:626
	0xFF, 0xFF, 0x00, 0x00,  // 248:65535
	0x02, 0x76, 0x05, 0x05,  // 249:630
	0x02, 0x7B, 0x05, 0x05,  // 250:635
	0x02, 0x80, 0x05, 0x05,  // 251:640
	0x02, 0x85, 0x05, 0x05,  // 252:645
	0x02, 0x8A, 0x04, 0x05,  // 253:650
	0xFF, 0xFF, 0x00, 0x00,  // 254:65535
	0x02, 0x8E, 0x04, 0x05,  // 255:654

	// Font Data:
	0x3E,	// 33
	0x02,0x02,	// 34
	0x34,0x3C,0x16,0x3C,0x16,	// 35
	0x2E,0x2A,0x7F,0x2A,0x3A,	// 36
	0x06,0x3A,0x16,0x08,0x34,0x32,	// 37
	0x38,0x2E,0x2A,0x32,0x3A,0x20,	// 38
	0x02,	// 39
	0x3E,0x22,	// 40
	0x22,0x3E,	// 41
	0x04,0x0E,0x0C,	// 42
	0x08,0x1C,0x08,	// 43
	0x60,	// 44
	0x08,0x08,0x08,	// 45
	0x20,	// 46
	0x30,0x18,0x04,0x02,	// 47
	0x1C,0x32,0x2A,0x2E,0x3E,	// 48
	0x04,0x02,0x3E,	// 49
	0x32,0x2A,0x2A,0x2A,0x2E,	// 50
	0x22,0x2A,0x2A,0x2A,0x3E,	// 51
	0x18,0x18,0x14,0x3E,0x10,	// 52
	0x2E,0x2A,0x2A,0x2A,0x3A,	// 53
	0x1C,0x2A,0x2A,0x2A,0x3A,	// 54
	0x02,0x02,0x02,0x3E,	// 55
	0x1C,0x2A,0x2A,0x2A,0x3E,	// 56
	0x2E,0x2A,0x2A,0x2A,0x3E,	// 57
	0x24,	// 58
	0x64,	// 59
	0x18,0x18,0x24,	// 60
	0x18,0x18,0x18,0x18,	// 61
	0x24,0x1C,0x18,	// 62
	0x02,0x3A,0x0A,0x0A,0x0C,	// 63
	0x1C,0x22,0x3E,0x3E,0x3E,	// 64
	0x3C,0x0A,0x0A,0x0A,0x3E,	// 65
	0x3E,0x2A,0x2A,0x2A,0x3E,	// 66
	0x1E,0x22,0x22,0x22,0x22,	// 67
	0x3E,0x22,0x22,0x22,0x3E,	// 68
	0x3E,0x2A,0x2A,0x2A,0x22,	// 69
	0x3E,0x0A,0x0A,0x0A,0x02,	// 70
	0x1E,0x22,0x22,0x2A,0x3A,	// 71
	0x3E,0x08,0x08,0x08,0x08,0x3E,	// 72
	0x3E,	// 73
	0x30,0x20,0x20,0x20,0x3E,	// 74
	0x3E,0x08,0x08,0x14,0x22,	// 75
	0x3E,0x20,0x20,0x20,0x20,	// 76
	0x3E,0x06,0x0C,0x18,0x04,0x3E,	// 77
	0x3E,0x06,0x0C,0x18,0x3E,	// 78
	0x3E,0x22,0x22,0x22,0x3E,	// 79
	0x3E,0x0A,0x0A,0x0A,0x0E,	// 80
	0x3E,0x22,0x22,0x22,0x3E,0x20,	// 81
	0x3E,0x0A,0x0A,0x1A,0x2E,	// 82
	0x26,0x2A,0x2A,0x2A,0x3A,	// 83
	0x02,0x02,0x3E,0x02,0x02,	// 84
	0x3E,0x20,0x20,0x20,0x3E,	// 85
	0x02,0x06,0x18,0x20,0x18,0x04,0x02,	// 86
	0x02,0x0C,0x30,0x0E,0x0E,0x30,0x1C,0x02,	// 87
	0x22,0x36,0x1C,0x14,0x22,	// 88
	0x02,0x06,0x38,0x0C,0x06,0x02,	// 89
	0x22,0x32,0x2A,0x2E,0x26,	// 90
	0x3E,0x22,	// 91
	0x06,0x0C,0x10,0x20,	// 92
	0x22,0x3E,	// 93
	0x40,0x40,0x40,0x40,0x40,	// 95
	0x01,	// 96
	0x34,0x2C,0x2C,0x3C,	// 97
	0x3E,0x24,0x24,0x24,0x18,	// 98
	0x3C,0x24,0x24,0x24,	// 99
	0x3C,0x24,0x24,0x3E,	// 100
	0x3C,0x2C,0x2C,0x2C,	// 101
	0x3E,0x06,0x06,	// 102
	0x3C,0xA4,0xA4,0xFC,	// 103
	0x3E,0x04,0x04,0x04,0x38,	// 104
	0x3E,	// 105
	0xFE,	// 106
	0x3E,0x08,0x18,0x24,	// 107
	0x3E,0x20,	// 108
	0x3C,0x04,0x04,0x3C,0x04,0x3C,	// 109
	0x3C,0x04,0x04,0x04,0x38,	// 110
	0x3C,0x24,0x24,0x3C,	// 111
	0xFC,0x24,0x24,0x24,0x18,	// 112
	0x3C,0x24,0x24,0xFC,	// 113
	0x3C,0x04,0x04,0x04,	// 114
	0x2C,0x2C,0x2C,0x34,	// 115
	0x3E,0x24,0x24,	// 116
	0x3C,0x20,0x20,0x20,0x1C,	// 117
	0x04,0x0C,0x30,0x10,0x0C,	// 118
	0x04,0x18,0x30,0x0C,0x18,0x30,0x0C,	// 119
	0x24,0x3C,0x18,0x24,0x24,	// 120
	0x3C,0xA0,0xA0,0xFC,	// 121
	0x24,0x34,0x2C,0x2C,0x24,	// 122
	0x1C,0x22,	// 123
	0x7F,	// 124
	0x22,0x3E,	// 125
	0x08,0x08,0x08,	// 126
	0x3E,	// 161
	0x3C,0x24,0x7E,0x24,	// 162
	0x28,0x3E,0x2A,0x2A,0x22,	// 163
	0x01,0x00,0x01,	// 168
	0x06,0x06,0x06,	// 176
	0x01,	// 180
	0x0C,0x0A,0x0A,0x3E,0x3E,	// 182
	0x40,	// 184
	0x38,0x28,0x28,0x26,0x20,	// 191
	0x3C,0x0A,0x0A,0x0B,0x3E,	// 192
	0x3C,0x0A,0x0B,0x0A,0x3E,	// 193
	0x3C,0x0A,0x0B,0x0B,0x3E,	// 194
	0x3C,0x0A,0x0A,0x0B,0x3E,	// 195
	0x3C,0x0A,0x0B,0x0B,0x3E,	// 196
	0x3C,0x0A,0x0B,0x0A,0x3E,	// 197
	0x3E,0x0A,0x0A,0x0A,0x3E,0x2A,0x2A,0x2A,0x22,	// 198
	0x1E,0x22,0x62,0x22,0x22,	// 199
	0x3E,0x2A,0x2B,0x2A,0x22,	// 200
	0x3E,0x2A,0x2B,0x2A,0x22,	// 201
	0x3E,0x2A,0x2B,0x2B,0x22,	// 202
	0x3E,0x2A,0x2B,0x2B,0x22,	// 203
	0x3E,0x01,	// 204
	0x3F,	// 205
	0x3F,0x01,	// 206
	0x3F,0x01,	// 207
	0x3E,0x06,0x0C,0x19,0x3E,	// 209
	0x3E,0x22,0x22,0x23,0x3E,	// 210
	0x3E,0x22,0x23,0x22,0x3E,	// 211
	0x3E,0x22,0x23,0x23,0x3E,	// 212
	0x3E,0x22,0x22,0x23,0x3E,	// 213
	0x3E,0x22,0x23,0x23,0x3E,	// 214
	0x14,0x18,0x1C,0x14,	// 215
	0x3E,0x20,0x20,0x21,0x3E,	// 217
	0x3E,0x20,0x21,0x20,0x3E,	// 218
	0x3E,0x20,0x21,0x21,0x3E,	// 219
	0x3E,0x20,0x21,0x21,0x3E,	// 220
	0x02,0x06,0x39,0x0C,0x06,0x02,	// 221
	0x3C,0x02,0x2A,0x2A,0x3E,	// 223
	0x34,0x2C,0x2D,0x3C,	// 224
	0x34,0x2C,0x2D,0x3C,	// 225
	0x34,0x2C,0x2D,0x3E,	// 226
	0x34,0x2D,0x2D,0x3D,	// 227
	0x34,0x2C,0x2D,0x3D,	// 228
	0x34,0x2C,0x2D,0x3C,	// 229
	0x34,0x2C,0x2C,0x2C,0x3C,0x2C,0x2C,0x2C,	// 230
	0x3C,0x24,0x64,0x24,	// 231
	0x3C,0x2C,0x2D,0x2C,	// 232
	0x3C,0x2C,0x2D,0x2C,	// 233
	0x3C,0x2E,0x2D,0x2C,	// 234
	0x3C,0x2D,0x2D,0x2C,	// 235
	0x3D,	// 236
	0x3D,0x01,	// 237
	0x3D,0x01,	// 238
	0x3D,0x01,	// 239
	0x3C,0x05,0x05,0x05,0x38,	// 241
	0x3C,0x24,0x25,0x3C,	// 242
	0x3C,0x24,0x25,0x3C,	// 243
	0x3C,0x24,0x25,0x3E,	// 244
	0x3C,0x25,0x25,0x3D,	// 245
	0x3C,0x25,0x24,0x3D,	// 246
	0x08,0x2C,0x08,0x08,	// 247
	0x3C,0x20,0x21,0x20,0x1C,	// 249
	0x3C,0x20,0x21,0x20,0x1C,	// 250
	0x3C,0x20,0x21,0x22,0x1C,	// 251
	0x3C,0x21,0x20,0x21,0x1C,	// 252
	0x3C,0xA0,0xA1,0xFC,	// 253
	0x3C,0xA1,0xA0,0xFD	// 255
};

It doesn't match the format Adafruit's library is expecting - you'll need to translate it.

I'd copy one of their fonts and play around changing it to your needs.

Hmmmmm ill see whats in there

Most of them are too large for what im tryin to display and pretty damn ugly

No worries ill see what i can come up with

The Adafruit_GFX library includes a font conversion utility that claims to convert .ttf files to the data structures that it uses. I've never had cause to use it myself, but perhaps it's worth a look.

1 Like

Solved

Deleted all libraries and started again from scratch

over wrote some example fonts in the GFX Font Folder via notepad and Renamed them

Apparently it worked - Thanks for your help

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.