Skip to content

Some fonts can not display properly when playing Thai #899

@GoogleCodeExporter

Description

@GoogleCodeExporter
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.com on 20 Sep 2013 at 6:13

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions