How to use other fonts (i.e. Chinese)
Steps to do on the CrossControl devices
1. Remount the file system in read-write mode
This is only valid for iMX5, iMX6 and Intel Atom devices.
# sudo mount -o remount,rw /
(Use the command mount -o remount,rw / in cc-auto script)
2. Copy the attached SimSun.ttf to the correct folder
iMX5 (VC/VA and XA/XS): /usr/lib/fonts/
iMX6 (VS/VI2): /usr/share/fonts/truetype or
/usr/share/fonts/ttf
iMX8 (V700): /usr/lib/fonts/
Intel Atom (X900): /usr/lib/fonts/
3. Remount the file system in read-only mode
This is only valid for iMX5, iMX6 and Intel Atom devices.
# sudo mount -o remount,ro /
(Use the command mount -o remount,ro / in cc-auto script)
4. Reboot
Steps to do on PC/Laptop:
- Install the attached SimSun.ttf on your PC by right-click and press install.
Steps to do in CODESYS IDE:
1. Check the box “Use Unicode strings” in the Visualization Manager:
2. Choose the font SimSun for each string that is present in VISU:
Disclaimer:
Please note that this is a work-around and that the installed font will be removed during an OS update.
Attachment:
ChineeseCharacters.project
SimSun.ttf