几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】f Face Name Se (http://www.dimcax.com/hust/showthread.php?t=18842)

yang686526 2009-05-07 05:26 PM

【转帖】f Face Name Se
 
ttf face name set.
ttf face name set.
face name is ms pgothic.
style.setfont( "ms pgothic", ......);-- it's memory leaks!!
style.setfont( "\"ms pgothic\"", ......);
-- it's ok. but can't set face name.
the first variant is right, but i can't reproduce memory leaks.
style.setfont( "\"ms pgothic\"", ......); - it will set wrong typeface name.
is the type of style odgitextstyle or oddbtextstyletablerecord?
in any case it must work correctly.
regads,
sergey zaitcev
sample file
thank you for help
dwgdirect version 1.09. sample "odamfcapp.dsp"
1.the appended file import.
2.it export by version acad2000.
3.end of the sample application.
4.memory leaks.
crtdbg.h(552) : {31273} normal block at 0x072811b8, 24 bytes long.
crtdbg.h(552) : {31272} normal block at 0x07281080, 240 bytes long.
attached files (26.8 kb, 7 views)

this bug had fixed in dwgdirect version 1.09(november update).
try use this version.
regards,
sergey zaitcev.
memory leaks
thanks.
but my library is 1.09(november update).


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