Japanese text problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-04 12:33 AM
I have tried with Noto Sans, ipaexg, NotoSerifCJKjp-Medium. But still I am getting fallback character. I am using STM32H750VB. Can you please help how to fix this issue.
Solved! Go to Solution.
- Labels:
-
STM32H7 Series
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-16 12:35 AM
Problem Solved:
I was using Unicode::snprintf(textBuffer, BUFFER_LENGTH, "%s", TypedText(LCD_screen->templatesss.menu.items_text_id[i]).getText())
I replaced it with text.setTypedText(TypedText(LCD_screen->templatesss.menu.items_text_id[i])); it is working fine now.
Thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-04 2:25 AM
Hi,
You need to add the characters you will need in the wildcard range or wildcard characters in your second screenshot.
/Romain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-04 2:33 AM
for Japanese what is the range?
I tried 0x0000-0x33FF.But still it is not working. Unicode - Hiragana falls between 0x3040 to 0x309f.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-07 1:10 AM
Hi,
When in doubts you can just add the characters you will use (just write the same text as in the textAreas you are using, not need to put the unicode) in the "wildcard characters" section. Noto Sans seems to not handle Japanese correctly, or maybe it is just the ttf I found online.
/Romain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-07 4:04 AM
I am getting this error when I tried to open the file. I am able to download only 4.16.0 I could not able to download 4.16.1
outof these fonts which one I Have to use
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-07 5:21 AM
you can download TouchGFX 4.16.1 from STM32CubeMX or from this link : https://www.st.com/en/embedded-software/x-cube-touchgfx.html
I was able to display Japanese with both the NotoSerif and ipaexg
/Romain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-07 11:21 PM
I tried with same fonts and same text...But Still I am getting the fall back character.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-07 11:57 PM
could you share the text you are trying to display and the font you are using ? In your last screenshot you can see a small T icon in the first Japanese message under the EN tab, could you check that you are using the right font there ?
/Romain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-08 12:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-08 5:13 AM
Hi,
The Noto Sans fonts do not properly handle Japanese characters. Could you try using Noto Serif instead ? Are you sure you used ipaexg as well ? It works fine on my side.
/Romain
