GUI guider international fonts issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GUI guider international fonts issue

Jump to solution
3,715 Views
vladi552
Contributor I

1. See the pic. When I trying to generate code for the button with cyrillic text (and some other widgets) the TypeError appears. What is wrong here?

2. When 'Generate Fonts' command is executed, this happens for ALL characters instead of a subset which entering by the user in 'Word' field. How to generate the only used font characters?

 
0 Kudos
1 Solution
3,164 Views
LiubinGong
NXP Employee
NXP Employee

Hello  brendon

    The shared project works well in V1.3.1, Please use the latest version to try. @vladi552 

Thanks

Liubin

View solution in original post

0 Kudos
7 Replies
3,648 Views
vladi552
Contributor I

Thanks for workaround. What can you say about p.2 of started post?

 
0 Kudos
3,621 Views
LiubinGong
NXP Employee
NXP Employee

fontConvert.PNG

1. The export fonts code file name: must be the same as the fonts file name in the "projectPath/generated/guider_fonts".

2. This is the font size you use when designing your UI by the GUI guider.

3. Select the "4 bit-per-pixel".

4. Select the font file

5. Input your used text. 

6. Click the button and download the generated fonts file.

0 Kudos
3,663 Views
LiubinGong
NXP Employee
NXP Employee

a). The current 1.3.0 version does not support the input of such characters, we plan to support 1.3.1 in March.

b). This is a workaround.

   1. Please design UI with English characters instead of Russian characters.

   2. To generated Russian characters by this link fontconverter.

fontConvert.PNG

 3. Use this fonts C file ("lv_font_Montserrat_SemiBold_19.c") to replace "test\generated\guider_fonts\lv_font_Montserrat_SemiBold_19.c"

   4. Modify the "test\generated\setup_scr_screen.c" like the sip

code.PNG

 5. Execute "make -r && make -r run" on this "test\lvgl-simulator" path. 

simulator.PNG

0 Kudos
3,178 Views
brendonslade
NXP TechSupport
NXP TechSupport

Hi Liubin,

can you confirm the issues is resolved in 1.3.1?

thanks

0 Kudos
3,165 Views
LiubinGong
NXP Employee
NXP Employee

Hello  brendon

    The shared project works well in V1.3.1, Please use the latest version to try. @vladi552 

Thanks

Liubin

0 Kudos
3,687 Views
nxa22510
NXP Employee
NXP Employee

We didn't try the font you used to test. Could you share the font? It seems to be caused by the font type.

0 Kudos
3,682 Views
vladi552
Contributor I

This is my first project in GuiGuider. It looks like the character codes above U+0x00FF is not supported. If the users enter this kind of characters Type error appears and resulted С code cannot be generated...

 
 
 
0 Kudos