GUI guider international fonts issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GUI guider international fonts issue

ソリューションへジャンプ
4,517件の閲覧回数
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,966件の閲覧回数
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 返答(返信)
4,450件の閲覧回数
vladi552
Contributor I

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

 
0 件の賞賛
返信
4,423件の閲覧回数
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 件の賞賛
返信
4,465件の閲覧回数
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,980件の閲覧回数
brendonslade
NXP TechSupport
NXP TechSupport

Hi Liubin,

can you confirm the issues is resolved in 1.3.1?

thanks

0 件の賞賛
返信
3,967件の閲覧回数
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 件の賞賛
返信
4,489件の閲覧回数
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 件の賞賛
返信
4,484件の閲覧回数
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 件の賞賛
返信