Hi!
I'm using the last version of SlimDX in C# language (Direct3D9).
I tried to play following Thai with some fonts, for example 'Tahoma'.
ยินดีต้อนรับ ยินดีต้อนรับ
ยินดีต้อนรับ ยินดีต้อนรับ
ยินดีต้อนรับ ยินดีต้อนรับ
ยินดีต้อนรับ ยินดีต้อนรับ
ยินดีต้อนรับ ยินดีต้อนรับ
ยินดีต้อนรับ ยินดีต้อนรับ
ยินดีต้อนรับ
In DirectX, it plays perfectly, whereas in SlimDX, the upper part of the
characters disappears.(the lower text in the sreenshot)
The comparison screenShot is attached.
The code I use in SlimDX is as following:
...
font = new SlimDX.Direct3D9.Font(d3dDevice, clippingRect.Height, 0,
data.Weight, 1, data.Italics, CharacterSet.Default, Precision.Default
, FontQuality.Antialiased, PitchAndFamily.Default, data.Family);
...
font.DrawString(sprite, curText[index], clippingRect.X, clippingRect.Y, textColor);
Thanks for your help, if need any further detail, please contact.
Original issue reported on code.google.com by
SongU...@gmail.comon 20 Sep 2013 at 6:13Attachments: