几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】no text showing (http://www.dimcax.com/hust/showthread.php?t=17337)

yang686526 2009-05-06 06:35 PM

【转帖】no text showing
 
no text showing
no text showing
hi,
i've been chasing the problem (in another thread) of visible attributes that don't display on the screen. in fact i've now realised that no text at all is showing when i load in any dwg file to my app. the attribute problem is just a subset of this issue.
so obviously i haven't set something up correctly. but i can't for the life of me work out what. the dwg files load and display correctly using odamfcapp and progecad lt. can anyone point me at what i should investigate. any help would be greatly appreciated.
regards
ali smith
based on very limited information you provided i suppose that your application is a kind of viewer and you declared but not implemented (implemented with empty body) textproc() function.
sergey slezkin
i found the problem was with the unicode setup of the dwg libraries, as a result of which i'd built my app to not use unicode, but this meant i had to comment out the text drawing routines in my viewer. i;'d forgotten to uncomment them!
thanks for your comments anyway.


所有的时间均为北京时间。 现在的时间是 09:04 PM.