Werner , Are you really writing code without indentation? -------It depends on freetype, Any reason why you don't use the symbolic value, FT_LOAD_NO_BITMAP? -------FT_LOAD_NO_BITMAP == 8 *sure* that you are linking to the right, patched FreeType library? -------see the render (gid = 2134) result saved as png image.
I think the important thing is that it calls freetype's interface, and there is a result. Thanks. Johnson Y. Yan 发件人: Werner LEMBERG 发送时间: 2012-06-13 16:25:34 收件人: yinsen_yan 抄送: mpsuzuki; freetype-devel 主题: Re: [ft-devel] PDF text rendering error ... Are you really writing code without indentation? > #include "../../ft2.4.9/include/freetype/internal/ftobjs.h" Uh, oh! You must never, ever use an internal header file in your source code (except for special reasons). > int load_flags = 8; Any reason why you don't use the symbolic value, FT_LOAD_NO_BITMAP? Besides this, I don't see a problem with your code (after a quick look). Are you *sure* that you are linking to the right, patched FreeType library? Werner
freetypetest.PNG
Description: Binary data
_______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel