- UID
- 167817
- 积分
- 0
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2004-8-20
- 最后登录
- 1970-1-1
|
发表于 2006-5-20 02:57:51
|
显示全部楼层
Re: [求助]:如何统一字体
最初由 ¥夜悸孤枕¥ 发布
[B]如果在一副图里有很多的字体样式 我想把它都用一种统一 该怎么做啊 删又删不了 用字体属性改就改动了字体 可是它还是有很多的样式 我想把他们都用“样式名”为宋体 字体名 为宋体 统一该怎么做? 谢谢 [/B]
我这个是用来把所有字体(以下所包含的字体,没有的可以自己加)都转换成txt.shx,hztxt.shx字体的一个Lisp程序,楼主可以用来参考.
(DEFUN C:-st ()
(command "-style" "hztxt" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "chian" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "dim_font" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "1" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "ht" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "hz" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "romand" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "standard" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "yy" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "ro" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "style1" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "-黑体" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "simplex" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "h1" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "youyuan" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "hz" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "kt64f" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "lushu" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "kaiti" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "meihei" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "songti" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "zongyi" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "宋体" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "_simplex" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "att" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "dim" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "黑体" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "楷体" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "幼圆" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "华文" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "style2" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "style3" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "华文中宋" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "2" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "3" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "text" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "text1" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "text2" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "dim" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "dim1" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "dim2" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "_ht64f" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "_hzls" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "_txt" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "1" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "2" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "3" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "4" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "5" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "6" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "ht" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "_hzdx" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "_cibt____" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "comb" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "middle" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "_fds" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "_romanc" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "cg" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "fs1" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "_fs1" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "std" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "_fsj" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "fs" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "st" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "LP1" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "ROMANT" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "lp2" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "_HZTXT" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "_COMPLEX" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "-style" "complex" "txt.shx,hztxt.shx" "" "" "" "" "" "")
(command "purge" "a" "*" "n")
(princ "\n 字体转换成功!")
(PRINC)) |
|