GUI guider international fonts issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

GUI guider international fonts issue

跳至解决方案
3,951 次查看
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 项奖励
回复
1 解答
3,400 次查看
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 项奖励
回复
7 回复数
3,884 次查看
vladi552
Contributor I

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

 
0 项奖励
回复
3,857 次查看
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 项奖励
回复
3,899 次查看
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 项奖励
回复
3,414 次查看
brendonslade
NXP TechSupport
NXP TechSupport

Hi Liubin,

can you confirm the issues is resolved in 1.3.1?

thanks

0 项奖励
回复
3,401 次查看
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 项奖励
回复
3,923 次查看
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 项奖励
回复
3,918 次查看
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 项奖励
回复