neu-rah / ArduinoMenu

Arduino generic menu/interactivity system
GNU Lesser General Public License v2.1
933 stars 189 forks source link

How can I choose the font to be used on the menu? #304

Closed NeftaliLoya closed 4 years ago

NeftaliLoya commented 4 years ago

The fonts used on the menu library are different from the ones used on the rest of the code. If I enter the navigation mode before running anything else on the code, the menu's behavior is as normal as it can be; however, if I enter the menu after running the TFT-LCD with other portions of the code, the last font used will prevail and the menu´s behavior will be unpredictable. With that said, I'd like to know what to do to use the original fonts of the menu so I can call them before entering into the navigation mode. The attached pictures show the looks of the menu before running the other code and after running it.

Any ideas? ![Uploading IMG_0830.JPG…]() ![Uploading IMG_0829.JPG…]()

NeftaliLoya commented 4 years ago

I got it... tft.setFont(); Thanks anyway!!!