Open sbfreddie opened 7 months ago
The those methods only apply to the built in fonts. The ILI9341_t3_font_t fonts were added later by two other members of the PJRC forum...
On Thu, Apr 11, 2024 at 8:59 AM Ed @.***> wrote:
I use the commands getfontWidth() and getfontHeight() to get the font size in x and y dimensions, which is further used throughout the 9,000 lines of code to place text on the screen and also to erase the text before the next write. I am using the font Arial18 which is a ILI9341_t3_font_t. I don't understand why the getfontHeight & Width do not return with a width of 9 and height of 18, which are the dimensions (I think) for the font Arial18. The dimensions returned are the standard size for the default font (size 0) of the RA8876, why does the font size not change when I tell it to use Arial18?
Thanks for any help, Ed
— Reply to this email directly, view it on GitHub https://github.com/wwatson4506/Ra8876LiteTeensy/issues/17, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH2Q7V5HAQC42UG7JPD5ZDY42XNVAVCNFSM6AAAAABGCSOU5GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZTQMBXGE4TKMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
WW: Can you confirm that the font Arial18 is indeed 9 pixels wide by 18 pixels high? So there is no way to determine what the font dimensions are? The internal code must have some way to know, how else could it possible work.
Thanks, Ed
No I cannot. Again I did not add the external font capabilities to the library. I have never worked with them. Sorry...
On Thu, Apr 11, 2024 at 9:12 AM Ed @.***> wrote:
WW: Can you confirm that the font Arial18 is indeed 9 pixels wide by 18 pixels high? So there is no way to determine what the font dimensions are? The internal code must have some way to know, how else could it possible work.
Thanks, Ed
— Reply to this email directly, view it on GitHub https://github.com/wwatson4506/Ra8876LiteTeensy/issues/17#issuecomment-2050047983, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH2Q7R4PP4JFU2465GVJ6LY42Y75AVCNFSM6AAAAABGCSOU5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJQGA2DOOJYGM . You are receiving this because you commented.Message ID: @.***>
I use the commands getfontWidth() and getfontHeight() to get the font size in x and y dimensions, which is further used throughout the 9,000 lines of code to place text on the screen and also to erase the text before the next write. I am using the font Arial18 which is a ILI9341_t3_font_t. I don't understand why the getfontHeight & Width do not return with a width of 9 and height of 18, which are the dimensions (I think) for the font Arial18. The dimensions returned are the standard size for the default font (size 0) of the RA8876, why does the font size not change when I tell it to use Arial18?
Thanks for any help, Ed