Jump to content

dxDrawText In Arabic


3B00DG4MER

Recommended Posts

Posted

Guys I've problem with dxDrawText

when I do it in Arabic it's write Left to Right While Arabic Wrote Right to Left

And the Letters are Spitted while It need to be Attached !

Ex.

    dxDrawText("مرحبا "4,0,screenW,screenH,tocolor(0,0,0),2,"bankgothic","center","center") 

Posted

try this, and see the result.

--dxDrawText("text or text arab",  
  
dxDrawText("مرحبا 4,0", screenW*0, screenH*0 ,tocolor(0, 0, 0, 255), 2.0,"bankgothic", "center", "center", false, false, false) 

Posted (edited)

i've fixed it !

the Problem is from the font !

bankgothic and some fonts doesn't work in Arabic, There's custom Fonts who works in Arabic

Edited by Guest

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...