Adafruit TFTLCD vs Elegoo TFTLCD

I have an Elegoo TFTLCD that sits on top of my Mega 2560
Everything works fine except for the fact that there are no options to change the font.

The two included files required are Elegoo_GFX.h and Elegoo_TFTLCD.h

I have compared both of these files to the Adafruit_GFX.h and Adafruit_TFTLCD.h files and they are identical apart from name changes from 'Adafruit' to 'Elegoo'

However, if I use the Adafruit libraries the Serial.print messages are displayed on the serial monitor but there is no display output to the LCD.

Any ideas please?

Please post a small but complete sketch that illustrates the problem

Please post a link to the actual Display that you bought. e.g. Ebay sale page.

Install MCUFRIEND_kbv via the IDE Library Manager.
Run all the examples.

Report back if you have a problem. Quote the example sketch by name.

There are examples that show how to use Fonts.

David.

Perfect. Thank you. :grinning: All examples run fine

Now to extract the necessary lines of code to get my code working.

Note that the FreeFonts only draw in transparent mode.
Note that the FreeFonts draw from the base line.

The example shows this.

If you want Arabic, Greek, Chinese, ... fonts you can use U8g2_for_Adafruit_GFX library with any GFX library like MCUFRIEND_kbv or Adafruit_TFTLCD.

David.

Thank you so much. I have been tearing my hair out trying to get my LCD to run correctly.
The Elegoo.h was so limited.
Some of the Adafruit examples would run but not all.
I have just tried the MCUFRIEND examples on a 320x240 and a 480x320 LCD and all is good :grinning: with all Adafruit examples running fine.