Sign in to follow this  
vcGamer

displaying right to left text

Recommended Posts

hello How can I display right to left languages using DX 9? i.e. arabic or persian texts? I know the answer is unicode, but I couldn't find anything useful after massive searches, any tips, samples, tutorials about displaying right to left fonts? does DirectX support these kind of texts? thanks for your help

Share this post


Link to post
Share on other sites
Have you looked at the DXUT documentation and the CustomUI sample? I'm pretty sure it supports this capability. That said, it'll be quite cryptic to decode [lol]

Direct3D per-se doesn't really have any knowledge of text so its ultimately just down to the underlying API's. D3DX Font is a fairly simplified wrapper on top of this.

If you can go for the Vista/7 generation then consider looking up DirectWrite as its better designed for this sort of task.


hth
Jack

Share this post


Link to post
Share on other sites

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