freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] outline get cropped when render chinese simkai.ttf font


From: seayoung
Subject: [ft] outline get cropped when render chinese simkai.ttf font
Date: Wed, 12 Jan 2011 01:17:08 +0800 (CST)

i use the sample http://www.freetype.org/freetype2/docs/tutorial/example2.cpp to render chinese truetype font "simkai.ttf"。
here is the code i call the function
    WriteGlyphAsTGA(library,
                    "test.tga",
                    L'全',
                    face,
                    64,
                    Pixel32(255, 90, 30),
                    Pixel32(255, 255, 255),
                    3.0f);
http://img615.ph.126.net/qhQV_MGUQKh86gSD1pYSrg==/1930355390283327957.jpg
this is the result i render the chinese character '全',I think the outline get cropped,while the other fonts like 'simsun.ttf' does't have this problem。
the freetype version i used is 2.4.4,thank you。
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]