Replies: 3 comments 9 replies
-
Yes, Adafruit have some updates on font data structure, please use latest font files. |
Beta Was this translation helpful? Give feedback.
6 replies
-
If HelloWorldGfxfont not work, then it should not related to font files. Wild guess the 16-bit parallel pins have some connection issue. Double check each connection by a multimeter. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I don't know why AVR MCU have this issue, you may try the master work around. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hoping someone might spot something I've overlooked regarding the latest v1.4.7 library.
I've been using TFT LCD NT35510 driver (16 bit parallel) with your Arduino_GFX v1.3.7 and the Adafruit_GFX fonts library since mid 2023.
The code build with v1.3.7 was throwing up lots of warnings, with lots of PINK color redefinitions, but I was putting up with the code build warnings since it otherwise worked.
I've now tried your new Arduino_GFX v1.4.7. No build warnings (lovely), but runtime output to the display was a shocker with X,Y placement issues, characters getting "torn" and even simple string placements like "1.2345" getting placed in weird locations on the display.
The Adafruit font set has a nice assortment of fonts that I prefer.
I thus tried back-stepping through your previous Arduino_GFX releases; v1.4.6 was also no good, but found that v1.4.5 seems to be ok; fonts appear good and code compiles without warnings, so that's what I'm staying with at this stage.
In investigating v1.4.7 in case I might be doing something wrong, I've tried with display rotated and not rotated but I see the same problematic behaviour with v1.4.7 (and v1.4.6) exists.
Please see display and sample code examples att. Both displays are built with the same ino file code but with Arduino_GFX v1.4.5 vs v1.4.7 output behaviour where with v1.4.7, various x/y offsets are apparent, characters can have obscure Y offsets, character spacing changes, the string "Medium" ends up with scattered "e", "i" & "m" characters (and the other 3 characters are missing).
The long 14 digit floating number only has 4 characters painted, all scattered.
Platform: Arduino MEGA2560
Compiler: IDE 1.8.19
Display : NT35510 400x800 TFT
Sample fonts are (see code)
For what it's worth, code build log uses libraries::
Using library GFX_Library_for_Arduino at version 1.4.5
Using library SPI at version 1.0
Using library Wire at version 1.0
Using library Adafruit_GFX_Library at version 1.11.7
Using library Adafruit_BusIO at version 1.14.1
Display photos att.
Arduino_GFX v1.4.5.jpg when using Arduino_GFX library version 1.4.5
Arduino_GFX v1.4.7.jpg when using Arduino_GFX library version 1.4.7
Code: see att Demo20240718.ino
Demo20240718.zip
Beta Was this translation helpful? Give feedback.
All reactions