Advertisement Jump to content
Sign in to follow this  
vcGamer

displaying right to left text

This topic is 3520 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

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!