几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】dwgdirect mtext width calculation slightly different from au (http://www.dimcax.com/hust/showthread.php?t=15974)

yang686526 2009-05-05 08:36 AM

【转帖】dwgdirect mtext width calculation slightly different from au
 
dwgdirect mtext width calculation slightly different from au
dwgdirect mtext width calculation slightly different from autocad
try the attached file in autocad and in odamfcapp. the lower two mtexts are on one line in odamfcapp, but in autocad they are wrapped over two lines.
the strings contain embedded font scaling. the string width scaling calculation seems to be performed slightly differently. according to autocad the string is longer than the wrapping limit, according to odamfcapp it is not.
the effect is that in rare cases a mtext generated by our program will look ok in our program using the dwgdirect toolkit. but when an autocad user receives the file the mtext will look bad to him.
attached files
i can reproduce it. this is dd bug.
sergey slezkin


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