陈晓猫

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: :: 管理 ::

CAD打开文件总是弹出要求选择字体怎么办
1、在C:\Documents and Settings\下搜索acad.fmp文件,双击用记事本打开acad.fmp文件,在最后添加内容,上面几行本来就有,不用管,分号前面是电脑缺少的字体,后面是要映射的字体,shx代表大字体,这个不用深究,仿格式写上就好了。编辑好,最后保存就行了。
关闭CAD文件,重新打开,就不会有重新选择字体的问题了。实际上是gbcbig字体自动映射了ht字体了,下次遇上这样的问题,用同样的方法,即可避免这种问题。
注意事项:用记事本打开acad.fmp文件后, 字体映射的编辑要在英文状态下编辑,分好和句号是英文中的。

-Hztxt.shx;gbcbig.shx
0zy-hztxt.SHX;gbcbig.shx
1.SHX;gbcbig.shx
12hztxt.shx;gbcbig.shx
14HZTXT.SHX;gbcbig.shx
1Hztxt.shx;gbcbig.shx
3yhztxt.shx;gbcbig.shx
aaa-Hztxt.shx;gbcbig.shx
aagbcbig.shx;gbcbig.shx
aaGBHZFS.shx;gbcbig.shx
AAzhao2.SHX;gbcbig.shx
ACADCHN6.SHX;gbcbig.shx
ACCI-DX.SHX;gbcbig.shx
ACCI-ST.SHX;gbcbig.shx
ACEHZTXT.SHX;gbcbig.shx
AE.SHX;gbcbig.shx
aHztxt.shx;gbcbig.shx
AMS_DX.SHX;gbcbig.shx
AMS_HT.SHX;gbcbig.shx
arch1.shx;gbcbig.shx
ASyfs.shx;gbcbig.shx
B.SHX;gbcbig.shx
bb.shx;gbcbig.shx
BBB.SHX;gbcbig.shx
BHP-HZTXT.SHX;gbcbig.shx
big5.shx;gbcbig.shx
BSCWHZ.SHX;gbcbig.shx
BST-K.SHX;gbcbig.shx
bzhz.SHX;gbcbig.shx
C.SHX;gbcbig.shx
CADHZF.SHX;gbcbig.shx
CADSLDXJ.SHX;gbcbig.shx
CADSLFSJ.SHX;gbcbig.shx
CADSLHTJ.SHX;gbcbig.shx
CADSLKTJ.SHX;gbcbig.shx
CADSLSTJ.SHX;gbcbig.shx
CBS_HZTXT.SHX;gbcbig.shx
CCAD.SHX;gbcbig.shx
CHIN.SHX;gbcbig.shx
CHIN2.SHX;gbcbig.shx
CHINA.SHX;gbcbig.shx
CHINA1.SHX;gbcbig.shx
CHINA2.SHX;gbcbig.shx
CHINA3S.SHX;gbcbig.shx
CHINASET.SHX;gbcbig.shx
China_ds.shx;gbcbig.shx
CHINESE.SHX;gbcbig.shx
chineset.shx;gbcbig.shx
CHINS.SHX;gbcbig.shx
CHYWB.SHX;gbcbig.shx
CHYWBET.SHX;gbcbig.shx
Clibd.shx;gbcbig.shx
CLIBF.SHX;gbcbig.shx
CLIBH.SHX;gbcbig.shx
CLIBK.SHX;gbcbig.shx
CLIBS.SHX;gbcbig.shx
COMM1.SHX;gbcbig.shx
D1.SHX;gbcbig.shx
DAYUF.SHX;gbcbig.shx
DAYUFP.SHX;gbcbig.shx
DAYUKP.SHX;gbcbig.shx
DAYUL.SHX;gbcbig.shx
DAYUM.SHX;gbcbig.shx
DAYUMP.SHX;gbcbig.shx
DAYUS.SHX;gbcbig.shx
DAYUX.SHX;gbcbig.shx
DAYUXP.SHX;gbcbig.shx
DHZ.SHX;gbcbig.shx
DHZFTXT.SHX;gbcbig.shx
DXF.SHX;gbcbig.shx
DXFS.SHX;gbcbig.shx
DXT.SHX;gbcbig.shx
DXTCH.SHX;gbcbig.shx
F0.SHX;gbcbig.shx
F1.SHX;gbcbig.shx
F2.SHX;gbcbig.shx
F3.SHX;gbcbig.shx
FangSong_GB2312.shx;gbcbig.shx
FFS.SHX;gbcbig.shx
FHP.SHX;gbcbig.shx
FHT.SHX;gbcbig.shx
FHTCH.SHX;gbcbig.shx
FHZ.SHX;gbcbig.shx
FHZTXT.SHX;gbcbig.shx
FONT4.SHX;gbcbig.shx
FS.SHX;gbcbig.shx
FS64F.SHX;gbcbig.shx
FS64F1.SHX;gbcbig.shx
Fs64s.shx;gbcbig.shx
FSD.SHX;gbcbig.shx
FSDB.SHX;gbcbig.shx
FSDX.SHX;gbcbig.shx
FSHZ.SHX;gbcbig.shx
Fssx.shx;gbcbig.shx
FST.SHX;gbcbig.shx
fstch.shx;gbcbig.shx
Fstxt.shx;gbcbig.shx
FTXT.SHX;gbcbig.shx
FZY.SHX;gbcbig.shx
GBHZFS.shx;gbcbig.shx
GENIE.SHX;gbcbig.shx
goldhz.shx;gbcbig.shx
gsTxt.shx;gbcbig.shx
Haiwenhz.shx;gbcbig.shx
HAIWENZW.SHX;gbcbig.shx
HD.SHX;gbcbig.shx
HEIPZ.SHX;gbcbig.shx
HEIYS.SHX;gbcbig.shx
HH.SHX;gbcbig.shx
hhzfs.shx;gbcbig.shx
hhzkt.shx;gbcbig.shx
HHZTXT.SHX;gbcbig.shx
HLSTD.SHX;gbcbig.shx
HMDXFS.SHX;gbcbig.shx
HMDXST.SHX;gbcbig.shx
HMKXFS.SHX;gbcbig.shx
HMKXHT.SHX;gbcbig.shx
HMKXKT.SHX;gbcbig.shx
HMKXST.SHX;gbcbig.shx
HOPCHN01.SHX;gbcbig.shx
HOPCHN02.SHX;gbcbig.shx
HSHZTXT.SHX;gbcbig.shx
HT.SHX;gbcbig.shx
Ht1.shx;gbcbig.shx
HT2.SHX;gbcbig.shx
HT64B.SHX;gbcbig.shx
HT64F.SHX;gbcbig.shx
HT64F1.SHX;gbcbig.shx
HT64S.SHX;gbcbig.shx
HTK.SHX;gbcbig.shx
HTS.SHX;gbcbig.shx
Htsx.shx;gbcbig.shx
HTTCH.SHX;gbcbig.shx
Httxt.shx;gbcbig.shx
HTXT.SHX;gbcbig.shx
HWHZTXT.SHX;gbcbig.shx
HZ-SM1.SHX;gbcbig.shx
HZ.SHX;gbcbig.shx
HZ117.SHX;gbcbig.shx
HZ3DTXT.SHX;gbcbig.shx
HZ52.SHX;gbcbig.shx
HZ54.SHX;gbcbig.shx
HZA.SHX;gbcbig.shx
HZACE.SHX;gbcbig.shx
Hzbf.shx;gbcbig.shx
hzD.shx;gbcbig.shx
HZDF.SHX;gbcbig.shx
HZDG.SHX;gbcbig.shx
HZDS.SHX;gbcbig.shx
HZDX.SHX;gbcbig.shx
HZDXF.SHX;gbcbig.shx
hzf.shx;gbcbig.shx
HZFS.SHX;gbcbig.shx
HZFS1.SHX;gbcbig.shx
Hzfsd.shx;gbcbig.shx
HZHP.SHX;gbcbig.shx
HZHT.SHX;gbcbig.shx
HZJ.SHX;gbcbig.shx
HZJS-2.SHX;gbcbig.shx
HZJS-3.SHX;gbcbig.shx
HZKT.SHX;gbcbig.shx
HZKX.SHX;gbcbig.shx
HZKXF.SHX;gbcbig.shx
HZKXS.SHX;gbcbig.shx
HZLS.SHX;gbcbig.shx
HZPMK.SHX;gbcbig.shx
HZS.SHX;gbcbig.shx
hzsk.SHX;gbcbig.shx
HZST.SHX;gbcbig.shx
HZSTYLE.SHX;gbcbig.shx
HZT4.SHX;gbcbig.shx
HZTA.SHX;gbcbig.shx
HZTCH1.SHX;gbcbig.shx
HZTX.SHX;gbcbig.shx
Hztxt-fs.shx;gbcbig.shx
Hztxt-han.shx;gbcbig.shx
Hztxt-k.shx;gbcbig.shx
Hztxt-mobo.shx;gbcbig.shx
HzTXT.shx;gbcbig.shx
HZTXT0.SHX;gbcbig.shx
Hztxt01.shx;gbcbig.shx
HZTXT1.SHX;gbcbig.shx
hztxt11.shx;gbcbig.shx
HZTXT12.SHX;gbcbig.shx
Hztxt1a.shx;gbcbig.shx
HZTXT1B.SHX;gbcbig.shx
HZTXT2-2.SHX;gbcbig.shx
HZTXT2.SHX;gbcbig.shx
HZTXT2S.SHX;gbcbig.shx
HZTXT3S.SHX;gbcbig.shx
HZTXT4.SHX;gbcbig.shx
HZTXT5.SHX;gbcbig.shx
HZTXT6.SHX;gbcbig.shx
HZTXT9.SHX;gbcbig.shx
HZTXT92.SHX;gbcbig.shx
Hztxta.shx;gbcbig.shx
HZTXTB.SHX;gbcbig.shx
Hztxtbs.shx;gbcbig.shx
HZTXTD.SHX;gbcbig.shx
Hztxte.shx;gbcbig.shx
HZTXTF.SHX;gbcbig.shx
HZTXTH.SHX;gbcbig.shx
Hztxtn.shx;gbcbig.shx
HZTXTNEW.SHX;gbcbig.shx
Hztxtold.shx;gbcbig.shx
hztxtwz.shx;gbcbig.shx
HZTXTX.SHX;gbcbig.shx
hztxt_1.shx;gbcbig.shx
HZWB.SHX;gbcbig.shx
HZXK.SHX;gbcbig.shx
HZXY.SHX;gbcbig.shx
HZZY.SHX;gbcbig.shx
HZ_97.SHX;gbcbig.shx
H_China.shx;gbcbig.shx
H_Hztxt.shx;gbcbig.shx
JB.SHX;gbcbig.shx
jd.SHX;gbcbig.shx
JF.SHX;gbcbig.shx
jg_hztxt.shx;gbcbig.shx
JH.SHX;gbcbig.shx
JK.SHX;gbcbig.shx
JL.SHX;gbcbig.shx
JSFS.SHX;gbcbig.shx
JSHT.SHX;gbcbig.shx
JSKT.SHX;gbcbig.shx
JSST.SHX;gbcbig.shx
JZ.SHX;gbcbig.shx
KAI.SHX;gbcbig.shx
KAIYS.SHX;gbcbig.shx
KFS.SHX;gbcbig.shx
KHTCH.SHX;gbcbig.shx
KHZ.SHX;gbcbig.shx
KHZTXT.SHX;gbcbig.shx
KSHZ.SHX;gbcbig.shx
KT-K.SHX;gbcbig.shx
KT.SHX;gbcbig.shx
KT1.SHX;gbcbig.shx
KT2.SHX;gbcbig.shx
KT64F.SHX;gbcbig.shx
KT64F1.SHX;gbcbig.shx
KT64S.SHX;gbcbig.shx
KT64S1.SHX;gbcbig.shx
KTF.SHX;gbcbig.shx
KTK.SHX;gbcbig.shx
Ktsx.shx;gbcbig.shx
KTTCH.SHX;gbcbig.shx
KX.SHX;gbcbig.shx
LFP.SHX;gbcbig.shx
LI.SHX;gbcbig.shx
LMP.SHX;gbcbig.shx
LSP.SHX;gbcbig.shx
MING.SHX;gbcbig.shx
MSI_FSC.SHX;gbcbig.shx
MSI_FSX.SHX;gbcbig.shx
MSI_STC.SHX;gbcbig.shx
MSI_STX.SHX;gbcbig.shx
NEWFS.SHX;gbcbig.shx
nhztxt.shx;gbcbig.shx
NUMBER.SHX;gbcbig.shx
OBK.SHX;gbcbig.shx
OCHINESE.SHX;gbcbig.shx
OKV.SHX;gbcbig.shx
OLI.SHX;gbcbig.shx
OMV.SHX;gbcbig.shx
Pkpmtxt.shx;gbcbig.shx
pmHztxt.shx;gbcbig.shx
RUBONB.SHX;gbcbig.shx
RUBONFS.SHX;gbcbig.shx
RUBONK.SHX;gbcbig.shx
RUBONL.SHX;gbcbig.shx
RUBONM.SHX;gbcbig.shx
RUBONMA.SHX;gbcbig.shx
RUBONS.SHX;gbcbig.shx
RUBONTM.SHX;gbcbig.shx
RUBONU.SHX;gbcbig.shx
SA-HZ.shx;gbcbig.shx
SA-SHZ.shx;gbcbig.shx
SFONT.SHX;gbcbig.shx
SHZTXT.SHX;gbcbig.shx
SINGLE.SHX;gbcbig.shx
SINOTXT.SHX;gbcbig.shx
Sinotxt1.shx;gbcbig.shx
SLhztxt.shx;gbcbig.shx
SMFS.SHX;gbcbig.shx
SONGDX.SHX;gbcbig.shx
SONGYS.SHX;gbcbig.shx
SST.SHX;gbcbig.shx
ST.SHX;gbcbig.shx
ST64F.SHX;gbcbig.shx
St64s-bak.shx;gbcbig.shx
St64s.shx;gbcbig.shx
Stdb2.shx;gbcbig.shx
STF.SHX;gbcbig.shx
STK.SHX;gbcbig.shx
Stkx.shx;gbcbig.shx
STMB.SHX;gbcbig.shx
STMM.SHX;gbcbig.shx
STMY.SHX;gbcbig.shx
STS.SHX;gbcbig.shx
STSL.SHX;gbcbig.shx
Stsx.shx;gbcbig.shx
STTCH.SHX;gbcbig.shx
SUNG.SHX;gbcbig.shx
SVCAD_H.SHX;gbcbig.shx
SVCAD_HT.SHX;gbcbig.shx
SYFS.SHX;gbcbig.shx
T.SHX;gbcbig.shx
T500-75.SHX;gbcbig.shx
TBSCH.SHX;gbcbig.shx
TDRCFS24.SHX;gbcbig.shx
TJHTS.SHX;gbcbig.shx
Tjhzd.shx;gbcbig.shx
TJHZF.SHX;gbcbig.shx
Tjhzk.shx;gbcbig.shx
TJHZTXT.SHX;gbcbig.shx
TOPHZ1.SHX;gbcbig.shx
tssdchn.shx;gbcbig.shx
tx.shx;gbcbig.shx
WB.SHX;gbcbig.shx
WBF.SHX;gbcbig.shx
whtgtxt.shx;gbcbig.shx
whtmtxt.shx;gbcbig.shx
WX.SHX;gbcbig.shx
XC01.SHX;gbcbig.shx
XC02.SHX;gbcbig.shx
XC11.SHX;gbcbig.shx
XC12.SHX;gbcbig.shx
XC13.SHX;gbcbig.shx
XC14.SHX;gbcbig.shx
XC15.SHX;gbcbig.shx
XC16.SHX;gbcbig.shx
XC17.SHX;gbcbig.shx
XC18.SHX;gbcbig.shx
XC19.SHX;gbcbig.shx
XC20.SHX;gbcbig.shx
XC21.SHX;gbcbig.shx
XC22.SHX;gbcbig.shx
XC23.SHX;gbcbig.shx
XC24.SHX;gbcbig.shx
XC25.SHX;gbcbig.shx
XC26.SHX;gbcbig.shx
XC27.SHX;gbcbig.shx
XC28.SHX;gbcbig.shx
XC29.SHX;gbcbig.shx
XC30.SHX;gbcbig.shx
XC51.SHX;gbcbig.shx
XC52.SHX;gbcbig.shx
XC53.SHX;gbcbig.shx
XC54.SHX;gbcbig.shx
XC55.SHX;gbcbig.shx
XC56.SHX;gbcbig.shx
XC57.SHX;gbcbig.shx
XC58.SHX;gbcbig.shx
XC59.SHX;gbcbig.shx
XC60.SHX;gbcbig.shx
XC61.SHX;gbcbig.shx
XC62.SHX;gbcbig.shx
XC63.SHX;gbcbig.shx
XC90.SHX;gbcbig.shx
XC91.SHX;gbcbig.shx
XC92.SHX;gbcbig.shx
XC93.SHX;gbcbig.shx
yjkchn.shx;gbcbig.shx
ZOY.SHX;gbcbig.shx
ZwjKZ.SHX;gbcbig.shx
ZwTCH.shx;gbcbig.shx
ZY-htz.SHX;gbcbig.shx
zy-hztxt.SHX;gbcbig.shx
zy-kts.shx;gbcbig.shx
ZY-sts.SHX;gbcbig.shx
ZYT.SHX;gbcbig.shx
zzxh.shx;gbcbig.shx
_Fs64f.shx;gbcbig.shx
_Ht64f.shx;gbcbig.shx
_Hztxt.shx;gbcbig.shx
_Kt64f.shx;gbcbig.shx
_St64f.shx;gbcbig.shx
仿宋单线.SHX;gbcbig.shx
公司字体.SHX;gbcbig.shx
方佳1.shx;gbcbig.shx

 那些shx字体是大字体呢?我写了个工具。http://pan.baidu.com/s/1jHENZxk

把上述修改后的acad.fmp放在和批处理同一目录,然后运行以下批处理:

增加CAD字符映射,消除弹出大字体选择对话框(支持多种版本)1.bat

@echo off
set Dir="%appdata%\Autodesk\"
set file=acad.fmp
for /r %Dir% %%i in (%File%) do (if exist "%%i" (copy /y %File% "%%i"))
echo 已把acad.fmp复制到"%appdata%\Autodesk\",按任意键退出
pause

 

增加CAD字符映射,消除弹出大字体选择对话框(支持多种版本)2.bat

@echo off
set file=acad.fmp
set Dir="%appdata%\Autodesk\"
cd /d %Dir%
for /f "delims=" %%i in ('dir /b /a-d /s %file%') do (copy /y "%~dp0%file%" "%%i")
echo 已把acad.fmp复制到"%appdata%\Autodesk\",按任意键退出
pause

 

安装CAD字体到系统(适用于不同CAD版本).bat

把该批处理放到网上下载的fonts目录,双击就可以自动安装到C盘里面。

@echo off
if exist *.ttf then echo n|copy *.ttf "C:\WINDOWS\Fonts" /-y
set "str=HKEY_CLASSES_ROOT\Applications\acad.exe\shell\open\command"
for /f "tokens=2*" %%a in ('reg query "%str%" /v "" 2^>nul') do set "a=%%b"
set b=%a:~1,-15%
echo %b%
echo n|copy *.shx "%b%\Fonts\" /-y
echo 已把*.ttf复制到C:\WINDOWS\Fonts\,*.shx复制到%b%\Fonts\下面,按任意键退出
pause

posted on 2016-09-28 15:32  陈晓猫  阅读(11919)  评论(0编辑  收藏  举报