几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   ObjectARX(AutoLISP) (http://www.dimcax.com/hust/forumdisplay.php?f=178)
-   -   请教ttf宋体设置问题 (http://www.dimcax.com/hust/showthread.php?t=12588)

yang686526 2009-04-27 12:38 PM

请教ttf宋体设置问题
 
请教ttf宋体设置问题
www.dimcax.com

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;读出来有.ttf或是.ttf的字体并判断是否有该windows字体文件存在;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(if (= ttf t)
(progn
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;新宋体字体文件是simsun.ttc而在cad中是nsimsun.ttf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(if (or (= numberfile "nsimsun.ttf") (= numberfile "simsun.ttf"))
(progn
(setq tnm (findfile "simsun.ttc"))
(vl-file-copy tnm (strcat pnm "simsun.ttc") nil)
);end_progn
(if (setq tnm (findfile numberfile))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;存在则复制文件到dwg当前目录;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(vl-file-copy tnm (strcat pnm numberfile) nil)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;不存在则找出所属的文字样式;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
d
期待liminnet大哥答复
d
我也是菜鸟来的
d


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