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

yang686526 2009-05-05 11:01 AM

【转帖】font convertion
 
font convertion
font convertion
i would like to convert shx type font in dwg file into windows true type font, so i can display with windows true type font.
is this possible to convert into windows true type font?
then please send me your knowledge.
i have developed the dwg_viewer in reference.
if you need substitute some font you can override oddbhostappservices::getpreferablefont(...). default emplementation repeats the acad font maping mechanism and uses oddbhostappservices::getfontmapfilename() for getting map file.
(by default acad uses "acad.fmp"). you also can override getfontmapfilename() method for return own map file.
--
best regards,
sergey zaitcev
quote:
originally posted by hyonsuk son
i would like to convert shx type font in dwg file into windows true type font, so i can display with windows true type font.
is this possible to convert into windows true type font?
then please send me your knowledge.
i have developed the dwg_viewer in reference.
i don't know if this helps you, but autocad comes with ttf versions of the .shx fonts shipped with autocad.
simplex.shx has simplex_.ttf, romans.shx has romans_.ttf, etc.


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