Using separate typographies for separate languages in TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-09-14 9:13 AM
I am developing a TouchGFX application that should support multiple languages such as English, Chinese, Japanese and Korean. I am having significant troubles finding a suitable font that has all these languages combined to a single file. For example Noto Sans comes with different files for Japanese, Chinese and Korean. There are some attempts to combine them to a single file, e.g., https://github.com/satbyy/go-noto-universal but even that cannot include Korean characters to the same file since it would be too many symbols.
My question is then if I have a single text in TouchGFX, how do I use a different font for different languages since I haven't found a way to have all languages in one font file.
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-09-15 1:42 AM
Hello sute,
We're doing a new tutorial about how to use texts and add new languages. We'll make it available on our support website soon :)
And concerning your issue, I recommend you to add as many font as langauge you want to support on your project. I use Google font to find them and integrate them to my project by putting the ttf file inside the font folder (MyApplication\TouchGFX\assets\fonts).
Then, to use them on TouchGFX Designer, do as follow :
- Click on "Texts" the left panel and go to the the "Typographies" tab.
- Select the Typography your working with on the left, and click on the "+" button under language Settings.
- Click on the language you want to support
- Select your language and choose the right font supporting it.
- Do the same with your second language
- Now if you change your language, you will see all texts with the supported font.
/Osman
ST Software Developer | TouchGFX
