Sign in to follow this  

arabic text problem

This topic is 4472 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi guys how i can write arabic text in a window using 3d text from mesh , i put the string in arabic to display it in arabic , but in runtime the letters were flipped and not attached to each other , do any one has any clue about this prob ???? can i make encoding in directx ?? if yes how ?? i am using c# if this gonna help

Share this post


Link to post
Share on other sites
By bitmapped font engine he means he is manually outputting each character from a stored image.

I don't have any specific solutions (not a heavy DirectX user), but the problem you are running into is the left to right vs. right to left rendering. Windows supports both, but you need to tell it to (just like some Asian languages need the imemode set to view properly).

In DirectX I believe you need to look at the RightToLeftReading part of DrawTextFormat. Hope that is enough information to find what you are looking for.

Share this post


Link to post
Share on other sites

thanx for answering but bitmapped font engin is not a solution for arabic language coz the letters are attached . and yes my problem is in left to right coz the letters are written flipped , and there is no RightToLeftReading thing when using 3D text coz we r not drawing it as if we do in font.drawtext in 2d font drawing

Share this post


Link to post
Share on other sites

This topic is 4472 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

Sign in to follow this