Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font sizes #1202

Closed
elgerg opened this issue Sep 23, 2019 · 1 comment
Closed

Font sizes #1202

elgerg opened this issue Sep 23, 2019 · 1 comment

Comments

@elgerg
Copy link

elgerg commented Sep 23, 2019

Hi,

Ive looked at:

#609
#354
and
#247

but I'm still not sure what to do here.

I've enabled #define LV_FONT_ROBOTO_28 1 in lv_config.h and added the following into my code:

` static lv_style_t st;
lv_style_copy( &st, &lv_style_plain );

st.text.color = LV_COLOR_WHITE;
st.text.font = &lv_font_roboto_28;
lv_label_set_text(label, "22:30");
lv_obj_set_style( label, &st );

`

but my font size is still tiny. See attached photos.

lv_font_roboto_16
lv_font_roboto_28

Is there any way to scale these up so they are 5x to 10x bigger?

Thanks in advance
Alex

@embeddedt
Copy link
Member


We use GitHub issues for development related discussions.
Please use the forum to ask questions.

It's possible to sign in to the forum with your GitHub account... you don't need to make a separate account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants