Skip to main content
Flasas
Associate
March 15, 2023
Question

The Korean text displayed in the canvas area and the simulator area are displayed differently.

  • March 15, 2023
  • 3 replies
  • 2066 views

Hi, I am a Korean developer.

So, I use Korean to mark the text.

But there's a little problem.

First, after organize the UI on the canvas,

When I run the simulation, the position of the Korean characters(Text Area) does not exactly match the position I set, or the font looks a little different.

Even if I use other Korean fonts, this phenomenon occurs.

How can I solve this problem?

  • Used Fonts: Noto Sans KR

0693W00000aIziOQAS.png0693W00000aIziTQAS.png

This topic has been closed for replies.

3 replies

Osman SOYKURT
ST Technical Moderator
March 15, 2023

Hello Flasas,

That's strange indeed, I will investigate on that, thanks for reporting this.

As a workaround I can suggest you to use the setBaseline() function to make sure the position of your text is exactly where you want. Concerning the font look, I have no idea, it looks like it the same font but a different style:

0693W00000aJ3VYQA0.png 

You can try another style and select the one you prefer for your text on simulator and not on the canvas. But I agree it's not optimal to have something on the canvas which is not the same as when you run on simulator.

/Osman

ST Software Developer | TouchGFX
Flasas
FlasasAuthor
Associate
March 16, 2023

Thank you.

I hope this problem will be solved through an update later.

If there's any plan to be revised, please reply later.=)