几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】odgigeometrysimplifiertextproc90 for shx text always uses (http://www.dimcax.com/hust/showthread.php?t=17709)

yang686526 2009-05-06 08:49 PM

【转帖】odgigeometrysimplifiertextproc90 for shx text always uses
 
odgigeometrysimplifier::textproc() for shx text always uses
odgigeometrysimplifier::textproc() for shx text always uses simplex?
is this a known problem?
to reproduce, use a drawing containing a text entity with a style that uses romant.shx and note that odgigeometrysimplifier::textproc() will vectorize it using simplex font.
thanks,
codey
using autocad 2005 and dd 1.12.04
dd uses simplex-like built-in font if correct .shx font file is not available.
see developer's guide / font handling for details.
sergey slezkin
thanks sergey. oddbhostappservices::getpreferablefont() did the trick by prepending the shx file path location.
the dev guide suggested overriding findfile(), so that's what i used instead.


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