View Single Post
12-23-22, 02:32 PM   #1
Platine
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 72
Arabic text display

Hello, in the options of my addon, I would like to display the text in Arabic.
I have the text in the active variable:
active = "قم بتنشيط الوظيفة الإضافية"
And this is correctly typed text, from right to left, saved as UTF-8.
I set it to ipagui.ttf international font.
I get the following text on my in-game screen:

The order of the letters is incorrect. The letters are rearranged, the one at the beginning should be at the end. If I reverse the order of the letters before displaying the text, I get the following text on the screen:

So some of the fonts responsible for connecting the letters are missing.

What font can I use to display the Arabic text correctly?

Last edited by Platine : 12-23-22 at 03:14 PM.
  Reply With Quote