几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】how to tell to dwgdirect if the font ttf or sh (http://www.dimcax.com/hust/showthread.php?t=16781)

yang686526 2009-05-06 03:18 PM

【转帖】how to tell to dwgdirect if the font ttf or sh
 
how to tell to dwgdirect if the font ttf or shx?
how to tell to dwgdirect if the font ttf or shx?
hi,
trying to create a text style with the ttf font but with no success. i'm using the setfilename function of the class oddbtextstyletablerecord. if the filename for example is david.ttf, the autocad doesn't find it (the font is present in windows fonts), if the filename is david.shx, the autocad finds it. in other words how i tell that the font is ttf or shx font?
hi,
use method
void oddbtextstyletablerecord::setfont(const odstring& stypeface ,bool bold, bool italic, int charset, int pitchandfamily).
best regards,
sergey z.


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