几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】problem in rendering fcfs in release build (http://www.dimcax.com/hust/showthread.php?t=18037)

yang686526 2009-05-06 10:48 PM

【转帖】problem in rendering fcfs in release build
 
problem in rendering fcfs in release build
problem in rendering fcfs in release build
i am testing rendering of feature control frames. one of the file gets rendered correctly when rendered using the debug version of the dwg direct library, while using the release build renders the symbols as its equivalent text.
when i override the text proc i only handle the ttf fonts, for other fonts and special symbols i use the geometry simplifier of dwgdirect to get polyline/polygon entities...
i have attached 2 files, both of them get rendered correct in the debug version, while the release version renders it incorrectly. could you take a look at this? i am using version 1.12. i also tried it using 1.1204 and same result. also, odamfcapp renders it incorrectly.
thanks.
attached files
both files do not contain standard fcf (acdbfcf) entity.
one of them contains dimension, the other - acmfcf which is loaded as proxy by plain (not mechanical) autocad.
acmfcf entity in it's graphical representation contains text which should be rendered with amgdt.shx font.
plain autocad while loading the files asks what font should be used instead of missing amgdt.shx and substitutes simplex.shx by default. so it does not display gdt-like symbols.
i failed to reproduce difference between 1.12.04 debug and release. i think that different text apearence may be because in one case required font (amgdt.shx) is found and in another case it's substituted with simplex.shx
on my computer both debug and release builds of odamfcapp use simpex.shx (as autocad does).
sergey slezkin


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