Replies: 7 comments 1 reply
-
try set cursor to a lower position. |
Beta Was this translation helpful? Give feedback.
-
ok will give it a go - but coordinates are the same ( same code) from the EPD .... will check tonight |
Beta Was this translation helpful? Give feedback.
-
moving the text location has no effect - works with the default font using write and print - doesnt work with any oft the other fonts. Im a bit out of my depth at the moment. |
Beta Was this translation helpful? Give feedback.
-
Just tested with HelloWorldGfxfont.ino example, everything works fine:
|
Beta Was this translation helpful? Give feedback.
-
I'll modify an example tonight using the hello world gif - but with the appropriate class and canvas setup to test and show the problem and post it back for you to test. I'm half way there but had to go to the day job. ... Ray |
Beta Was this translation helpful? Give feedback.
-
this should illustrate - used on a lilygo-T-Display-S3 but should be no different . Ray |
Beta Was this translation helpful? Give feedback.
-
interestingly - doesn't just happen when encapsulated in a class - its more serious than that - Ive flattened it outside of a class - This makes it more significant |
Beta Was this translation helpful? Give feedback.
-
Using a canvas as a "sprite" within the display - 200x200 display that is emulating a EPD display from another project.
the backgound is white - and writing black text.
canvas-> setFont(......)
canvas -> setTextColor(BLACK, WHITE);
canvas->print( .....)
If i print after a setFont(); using the default font - I get small black text as expected -
but If i use one of the standard included fonts eg FreeMonoBold9pt7b.h
then no text is seen the only text that shows up is default font.
anyone seen this
I've got to dig a bit deeper yet - but it looks like something in the inheritance of the print function ?
Ray D
Beta Was this translation helpful? Give feedback.
All reactions