cancel
Showing results for 
Search instead for 
Did you mean: 

We are using toughgfx version 4.7.0 and font is using Myriad. It seems this font doesn't support Chinese because when we switch language to Chinese, it shows '?". Can toughgfx support Myriad font?

wshen
Associate II
 
10 REPLIES 10
Mon2
Senior III

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

wshen
Associate II

​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?

Martin KJELDSEN
Chief III

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

wshen
Associate II

​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?

wshen
Associate II

​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.

Martin KJELDSEN
Chief III

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.

Martin KJELDSEN
Chief III

Adobe says that Myriad Pro has never supported "far east languages", but i'd double check your font just to be sure.

wshen
Associate II

​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.

wshen
Associate II

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.