2019-02-12 07:32 PM
2019-02-12 08:35 PM
Hello. Happy New Year!
Can you upgrade to TouchGFX 4.10? It is now a free tool. This tool should be available through the latest CubeMX tool 5.0.1 or here:
https://www.st.com/en/development-tools/touchgfxdesigner.html
After TouchGFX 4.9, more features have been added to support fonts / languages:
https://community.st.com/s/question/0D50X0000AFpSD3SQN/how-to-display-chinese
https://touchgfx.zendesk.com/hc/en-us/articles/207015345-Using-texts-and-fonts
https://touchgfx.zendesk.com/hc/en-us/articles/205452881-Languages-and-Characters
2019-02-12 10:52 PM
Thanks for your quick reply.
Actually in ToughGFX 4.7.0, it already support Chinese. I have tried font MS HEI, it works well. The problem is it doesn't support font Myriad to display Chinese. A few months ago I have tried TouchGFX 4.9.3, it still not support font Myriad to display Chinese. Just wonder whether this font is going to be supported by TouchGFX?
2019-02-12 10:54 PM
Hi Wei,
As @Mon2 said, TouchGFX is free now and you can freely upgrade it if you're using STM32. 4.7.0 did not have the designer, so you'd have a big task re-defining screens using our graphical tool, but it might save you some development time down the road.
TouchGFX supports any font (not all formats, though). It all depends what kind of glyphs are contained within that font. You can inspect the font using Fontforge. It's a free project on SourceForge.
Have you tried changing language before? Maybe something is wrong in code and not with the font.
Best regards,
Martin
2019-02-12 11:03 PM
Hi Martin
I am able to switch languages between English, Spanish and Germany using font Myriad.
If I am using font MS HEI, I am able to switch languages between English and Chinese in my product. Hence, I am wondering why Myriad is not able to display Chinese in my product?
2019-02-13 12:50 AM
Actually what I want to check with you is whether font Myriad Pro support Chinese because If I use font MS HEI I am able to see Chinese display on my device.
2019-02-13 12:53 AM
Hi @wshen,
I don't know this particular font. You can use FontForge (free) to inspect the font and see if any of the unicodes defined by MS HEI are also present in Myriad.
2019-02-13 12:56 AM
Adobe says that Myriad Pro has never supported "far east languages", but i'd double check your font just to be sure.
2019-02-13 12:58 AM
Yup. I also found similar answer. https://forums.adobe.com/thread/1103777. But since it was posted on 2012, not sure whether there is any enhancement.
2019-02-17 07:04 PM
Hi, Martin,
Is there any way to do dynamic font switch in touchghx? For example, in my device, when user choose language as "English", system use Myriad-pro font while user choose language as "Chinese", system will load font MS Hei? Thanks.