toancaro
toancaro

Reputation: 482

How to display Khmer text correctly in Unity

I have some text in Khmer language: "ចូលប្រើប្រាស់"

When I put that text in a UI Text component and using a Khmer Unicode font (e.g: Content-Regular.ttf), Unity Editor displays like this image:

Khmer text displayed incorrectly

Is there any way to make Unity Editor and WebGL build display Khmer language properly?

Upvotes: 0

Views: 1024

Answers (1)

Rozx
Rozx

Reputation: 71

You should use TextMesh pro to create a font atlas, and then you can display any type of text and language as you want in any build.

Here is the link:

Text Mesh Pro in Asset Store

Additionally, you should use Content-Regular.ttf as reference to create the font atlas.

Upvotes: 1

Related Questions