displaying right to left text

Started by
0 comments, last by jollyjeffers 14 years, 10 months ago
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
Visit galaxyroad.com which soon will have english contents too
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

<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ | MVP Profile | Developer Journal ]</small>

This topic is closed to new replies.

Advertisement