Problems when using TTF with Hindi language

“हिंदी” meas “Hindi” in Hindi language.

When I create Label with system font, it shows exact the same with plain text.
image

But when I create Label with TTF, it shows diffrent with plain text.
image

This is the TTF font downloades from Google Font.

You can use your TTF file with system font function, like this

Label::createWithSystemFont(“हिंदी”, “your_font.ttf”, 80)

It will give you the correct output in your custom font.

Thanks. I tried but the output is in system font.