What size of lv_style_set_text_letter_space does?

Hi @kisvegabor , @embeddedt

Description

I am using lv_style_set_text_letter_space (value) to add the space between letters.
Does the size of space rely on font size?( the larger the font size, the larger the spacing )

or the size of space is the number of lcd dot (pixel) set by value? ( no matter how big the font size is, the spacing won’t change )

Below is the example if set value is the lcd dot
lv_style_set_text_letter_space (3)
image

lv_style_set_text_letter_space should simply insert the given number of pixels between every letter.

Hi @kisvegabor

Thanks for your reply soon!
So, no matter how big the font size is, the spacing won’t change, is it right?

lv_style_set_text_letter_space( numbers of pixels ) , is my thought right?

Yes, the font size remains.
But you can easily try it out.

Yes, the font size remains.
But you can easily try it out.

What do you mean?

What is unclear?

Yes, the font size remains.

I just don’t understand what this sentence’s mean.
Did you mean the space ( numbers of pixels ) does not change ?

E.g. letter k will look the same regardless to the letter space property. Only the space between the letters will change.

Why the space is changed?
I thought that the space is the number of pixels of lcd, and the pixel size is fixed.
Therefore, when the font size change, the K letter also changed, but the space between K & K is not changed.
Sorry, but could you explain more about that.
E.g, when I set space as 3 pixels
lv_style_set_text_letter_space (3)
this space will be fixed although font size changed
image