-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Font Test Examples Broken #37
Comments
Not sure what the font example is broken means? Does not work? Does not Compile? That is I just tried the Fonttest4 on my machine with just editing the pin number for CS... Again not sure if the issue is it does not build? If so may depend on what other libraries you have or don't have installed. I believe with these tests we were setup using the font library: https://github.com/mjs513/ILI9341_fonts We were trying to setup this code to be able to use font files from different places. Problem is that each one defines their own header files which bring in their code base as well. But I could be forgetting something. |
@paynterf (and @KurtE) @KurtE is correct you will need to download the font library: https://github.com/mjs513/ILI9341_fonts for the examples to work properly. Otherwise you will have to change the font names as you discovered. @KurtE's explanation is correct. The font library is set up so you can use it with any of the display libraries - ILI9341, ILI9488 and HX8357 for example. |
Hmm, It wouldn't compile for me at all with the ili9341_t3n library loaded; the font libraries weren't found. When I modified the code to use the ili9341_t3n_ font libraries like this::
Then it would work. After making these changes (and removing the fonts that weren't available), I got this display Which looks a bit strange, but maybe that's what you were after? Frank |
Did you download the fonts library (https://github.com/mjs513/ILI9341_fonts) and put it in your arduino libraries folder? Almost - should see the over writing of fonts with the boxes - its suppose to clear screen after you hit return. |
What were the compile errors? Are you using the latest released other libraries like ili9341_t3 or for example do you have an older one in your /libraries folder. Why this might matter. Is some of these libraries were updated, for the compiler to generate an archive which gets included with the build instead of individual binaries. This can help as only those things in the archive which have been referenced will be included, which can help reduce the number of duplicate symbols or the like. |
Might want to put a note in the ReadMe to the effect that the extra font library is required? |
ILI_Ada_FontTest3.ino compiles and runs fine after installing the extra fonts library |
Thanks,
I put int a quick note in the Readme, in the font section.
From: Frank Paynter ***@***.***>
Sent: Friday, March 12, 2021 11:10 AM
To: KurtE/ILI9341_t3n ***@***.***>
Cc: KurtE ***@***.***>; State change ***@***.***>
Subject: Re: [KurtE/ILI9341_t3n] Font Test Examples Broken (#37)
Might want to put a note in the ReadMe to the effect that the extra font library is required?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#37 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAL4MQGCJXJREG3GYD3CPXTTDJKF7ANCNFSM4Y4D6L7A> . <https://github.com/notifications/beacon/AAL4MQGUY7ACFD25PKNXM43TDJKF7A5CNFSM4Y4D6L7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF6F5GMA.gif>
|
Just read it - very nice! |
I will go ahead and close for now |
It appears that the ILI_Ada_FontTest3, ILI_Ada_FontTest4 (at least) are completely broken. I was able to make a very rudimentary example work by modifying
#include "font_Arial.h"
to
#include "ili9341_t3n_font_Arial.h"
Here's my code for a one-font example:
I'd be happy to modify the examples as required and submit pull requests if you are OK with that
Frank
The text was updated successfully, but these errors were encountered: