Skip to content

Change font size #1744

Answered by olikraus
DanielRodrigues1 asked this question in Q&A
Jan 7, 2022 · 4 comments · 6 replies
Discussion options

You must be logged in to vote

it just overwrite himself making a mess,

ah ok, in this case you must use a font with a "_hr" or "_mr" postfix (h or m instead of the t).

And of course you need to apply a proper background color: u8g2_for_adafruit_gfx.setBackgroundColor(uint16_t color)

Here are some fonts which will work better in your case:

u8g2_font_micro_mr
u8g2_font_4x6_mr
u8g2_font_5x7_mr
u8g2_font_5x8_mr
u8g2_font_6x10_mr
u8g2_font_6x12_mr
u8g2_font_6x13_mr
u8g2_font_6x13B_mr
u8g2_font_6x13O_mr
u8g2_font_7x13_mr
u8g2_font_7x13B_mr
u8g2_font_7x13O_mr
u8g2_font_7x14_mr
u8g2_font_7x14B_mr
u8g2_font_8x13_mr
u8g2_font_8x13B_mr
u8g2_font_8x13O_mr
u8g2_font_9x15_mr
u8g2_font_9x15B_mr
u8g2_font_9x18_mr
u8g2_font_9x18B_mr…

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@DanielRodrigues1
Comment options

Comment options

You must be logged in to vote
1 reply
@DanielRodrigues1
Comment options

Comment options

You must be logged in to vote
1 reply
@DanielRodrigues1
Comment options

Comment options

You must be logged in to vote
3 replies
@DanielRodrigues1
Comment options

@DanielRodrigues1
Comment options

@olikraus
Comment options

Answer selected by DanielRodrigues1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants