CODESYS Use other fonts

CODESYS Use other fonts

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

    • Related Articles

    • Data Engine access from CODESYS

      This article contains two project parts – a CODESYS NoVisu project and a Qt GUI application. The two projects use the Data Engine (DE) to send signal values between the two applications. The DE signals in the Qt application have been created with the ...
    • Access CCpilot VI2 Hardware Buttons and Buzzer from CODESYS

      This CODESYS application example shows how the state of the hardware buttons and the buzzer on the CCpilot VI2 display can be read and used in the application. There are four squares for ech of the buttons and when a button is pressed, the square ...
    • Device Description files and libraries for CODESYS

      We have prepared a project archive for CODESYS which contains all the current Device Description Files as well as the CCAUX and CCSAP libraries necessary for CODESYS programming on CCpilot Display Computers. Content: Crosscontrol CODESYS Development ...
    • Window Manager Example

      A guide on how to deploy multiples Qt applications in Window Manager module on CCpilot target displays with different configurations and layouts. CrossControl’s Window Manager allows developers to realize integration of multiple applications with ...
    • Where can I find Operation System update packages for CCpilot Displays

      Crosscontrol has all the downloadable packages available for each of the CCpilot Display Computers. Head to our list of different CCpilot devices: Display computer | CrossControl From here, choose and click on the CCpilot Display that the OS update ...