查看单个帖子
旧 2009-05-05, 11:07 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】freetype

freetype
freetype
i have some questions concerning the freetype library. i am assuming that dd_lnxx86_ft.a is some version of the freetype library, if this is a wrong assumption feel free to correct me.
what version of freetype is this based on? does the above listed library contain any specialized dwgdirect classes or code?
i am asking this because the the software i am working on currently uses freetype (freetype2-2.1.3) for text rendering. now i am trying to integrate dwg support to our software using the dwg direct libraries. when i link the application with dd_lnx86_ft.a as well as the freetype.so that we had already been using, my application will freeze during the call to odunitialize() during application shutdown.
if i stop linking the freetype.so library, but still link the dd version, the app successfully exits. my concern here is that when our existing code is compiled it will be using the header files installed with the freetype library, but will possably be linking with a different library in the end.
i've also tried to not link in the dd_lnx86_ft.a library, the app compiles, but still freezes in the odunitialize() method.
regards,
steve
last edited by skram; 18th july 2004 at 06:57 amfff">.
dd_lnxx86_ft.a contains version 2.1.7 of the freetype libraries. we haven't modified the freetype source except to fix one bug that we found with setting user callbacks for i/o and memory allocation. you might try upgrading your app to use freetype 2.1.7 instead of 2.1.3.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)