Skip to main content

Wyświetlanie chińskich znaków w projekcie

Streszczenie: Poprawne wyświetlanie chińskich znaków: dodanie chińskiej czcionki (np. DFKai-SB) w [System Parameter Settings] » [Font], zaznaczenie „Build font files” przy kompilacji i „Font files” przy pobieraniu projektu.
EN: How to display Chinese characters correctly: add a Chinese font, build font files on compile and download font files.

Dotyczy: EasyBuilder Pro / EasyBuilder8000
Źródło: Weintek FAQ (materiały producenta), oryginalny tytuł: „Display Chinese Fonts”

How to display Chinese characters correctly?

When you open a project that contains Chinese characters, you may find that the characters are displayed as shown in the following figure

image.pngIlustracja: Wyświetlanie chińskich znaków w projekcie – When you open a project that contains Chinese characters, you may find that the characters are displayed as shown in…

The following steps will show you how to solve this problem.
Step 1. Go to System Parameter Settings » Font tab. Click [Add] button, enter the font name to add the font to the library

image.pngIlustracja: Wyświetlanie chińskich znaków w projekcie – Click [Add] button, enter the font name to add the font to the library

Step 2. Select a valid Chinese font when editing the project. As shown in the following figure, the valid font can be “DFKai-SB”

image.pngIlustracja: Wyświetlanie chińskich znaków w projekcie – As shown in the following figure, the valid font can be “DFKai-SB”

Step 3. Select [Build font files] check box in Compile dialog box.

image.pngIlustracja: Wyświetlanie chińskich znaków w projekcie – Select [Build font files] check box in Compile dialog box.

Step 4. Select [Font files] check box in Download dialog box.

image.pngIlustracja: Wyświetlanie chińskich znaków w projekcie – Select [Font files] check box in Download dialog box.

Step 5. The Chinese characters can now be correctly displayed on HMI.

image.pngIlustracja: Wyświetlanie chińskich znaków w projekcie – The Chinese characters can now be correctly displayed on HMI.

 

 

Słowa kluczowe

chińskie znaki, Chinese fonts, czcionki, DFKai-SB, Build font files, Font files, System Parameter Settings, Font, krzaki, błędne znaki, Display Chinese Fonts