cancel
Showing results for 
Search instead for 
Did you mean: 

Generated Font Naming

jimmii
Senior II

Hi,

Follwing Font cpp files are being generated:

Font_Ubunut_light_10_4bpp_0.cpp

Font_Ubunut_light_10_4bpp_4.cpp

Font_Ubunut_light_16_4bpp_0.cpp

Font_Ubunut_light_16_4bpp_4.cpp

My question: What does the _4 (in bold) mean? Why are there different font with the same size(16)?

Thanks for your help.

/jimmii

1 ACCEPTED SOLUTION

Accepted Solutions
Martin KJELDSEN
Chief III

It's just a postfix that indicates which unicode ranges are in those files. As you can see, you don't have 0,1,2,3,4, but simply 0 and 4. You could have 0 and a much higher number like 28 if you were using something like arabic unicodes.

I'm not sure what you meant by your last question "Why are there different font with the same size(16)?"

/Martin

View solution in original post

3 REPLIES 3
Martin KJELDSEN
Chief III

It's just a postfix that indicates which unicode ranges are in those files. As you can see, you don't have 0,1,2,3,4, but simply 0 and 4. You could have 0 and a much higher number like 28 if you were using something like arabic unicodes.

I'm not sure what you meant by your last question "Why are there different font with the same size(16)?"

/Martin

Thanks @Martin KJELDSEN​ , this answers my question.

Cheers

No problem! :)