how is this done ? #1972
Unanswered
tbillion
asked this question in
Q&A - Fonts
Replies: 1 comment
-
so i did figure it out ... it has alot to do with the ampersand character and where you can and cannot put them, but i have no idea what the ampersand does (self taught, not a learning experiance i have needed until now) below is the corrected funtioning library and a funtioning example if anyone wanted to use them ... the formatting is messed up but they do work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
im trying to get an menu creation library to work with this tft_espi library and i cannot figure out how to pass the correct thing either from the library to tft_espi or to the library itself. the function calls are below, there are two different versions of the library they appear to be calling something similar but when it comes to the font set part they go in two different directions. how would i make this work with tft_espi?
this is the problem area:
from the tft_espi example i see this which appears to be something i am supposed to be doing in the library.
looking at all of this together it looks like the actual question i am asking is: is there a type declaration for fonts in tft_espi?
because then i would replace
const GFXfont &TitleFont
with whatever the constant is in the tft_espi library and then replace thw way it sets the fonts and it should work.Beta Was this translation helpful? Give feedback.
All reactions