找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

[求助]:如何统一字体

[复制链接]
发表于 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))
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2006-5-20 08:16:45 | 显示全部楼层
楼上很多方法,学习学习,用flash讲解的是不是只有2007和2006才能用呀,还有楼上的是不是要把经常用到的所有字体都列进去吗?
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2006-5-20 13:58:22 | 显示全部楼层
好东东
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2006-10-13 16:24:18 | 显示全部楼层
四楼太帅了
实在是高
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2006-10-14 07:53:23 | 显示全部楼层
最初由 egos 发布
[B]standard样式可用命令行-purge清除掉(非图形界面purge)
但你要保证确实没用这个样式 [/B]

默认的样式应该不好清理吧。
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2006-10-14 21:35:48 | 显示全部楼层
这个FLASH做得好,一下让我解决了一个困扰很久的问题.谢谢.
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2025-11-16 09:32 , Processed in 0.173679 second(s), 36 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表