1. 程式人生 > >修復系統字型,解決文字亂碼問題。

修復系統字型,解決文字亂碼問題。

最近由於錯裝PS的字型,導致系統裡很多軟體中一些文字亂碼。為了恢復系統字型到預設的正常狀態需要做兩件事:

1.清空C:\WINDOWS\Fonts資料夾,注意配合使用unlocker,清空登錄檔鍵值HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts;

2.下載windows預設字型包(或者從安裝盤提取)並手動安裝(複製到C:\WINDOWS\Fonts下),編輯和字型相關的登錄檔鍵值HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts,可以編寫一個Fonts.reg檔案內容如下:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
@=""
"Book Antiqua Bold (TrueType)"="ANTQUAB.TTF"
"Book Antiqua Bold Italic (TrueType)"="ANTQUABI.TTF"
"Book Antiqua Italic (TrueType)"="ANTQUAI.TTF"
"MS-DOS CP 437"="app932.fon"
"MS-DOS CP 949"="app949.fon"
"Arial (TrueType)"="arial.ttf"
"Arial Bold (TrueType)"="arialbd.ttf"
"Arial Bold Italic (TrueType)"="arialbi.ttf"
"Arial Italic (TrueType)"="ariali.ttf"
"Arial Narrow (TrueType)"="ARIALN.TTF"
"Arial Narrow Bold (TrueType)"="ARIALNB.TTF"
"Arial Narrow Bold Italic (TrueType)"="ARIALNBI.TTF"
"Arial Narrow Italic (TrueType)"="ARIALNI.TTF"
"Arial Black (TrueType)"="ariblk.ttf"
"Batang & BatangChe & Gungsuh & GungsuhChe (TrueType)"="batang.ttc"
"Book Antiqua (TrueType)"="BKANT.TTF"
"Bookman Old Style (TrueType)"="BOOKOS.TTF"
"Bookman Old Style Bold (TrueType)"="BOOKOSB.TTF"
"Bookman Old Style Bold Italic (TrueType)"="BOOKOSBI.TTF"
"Bookman Old Style Italic (TrueType)"="BOOKOSI.TTF"
"Bookshelf Symbol 7 (TrueType)"="BSSYM7.TTF"
"Comic Sans MS (TrueType)"="comic.ttf"
"Comic Sans MS Bold (TrueType)"="comicbd.ttf"
"Courier New (TrueType)"="cour.ttf"
"Courier New Bold (TrueType)"="courbd.ttf"
"Courier New Bold Italic (TrueType)"="courbi.ttf"
"Courier New Italic (TrueType)"="couri.ttf"
"Estrangelo Edessa (TrueType)"="estre.ttf"
"Franklin Gothic Medium (TrueType)"="framd.ttf"
"Franklin Gothic Medium Italic (TrueType)"="framdit.ttf"
"Garamond (TrueType)"="GARA.TTF"
"Garamond Bold (TrueType)"="GARABD.TTF"
"Garamond Italic (TrueType)"="GARAIT.TTF"
"Gautami (TrueType)"="gautami.ttf"
"Georgia (TrueType)"="georgia.ttf"
"Georgia Bold (TrueType)"="georgiab.ttf"
"Georgia Italic (TrueType)"="georgiai.ttf"
"Georgia Bold Italic (TrueType)"="georgiaz.ttf"
"Century Gothic (TrueType)"="GOTHIC.TTF"
"Century Gothic Bold (TrueType)"="GOTHICB.TTF"
"Century Gothic Bold Italic (TrueType)"="GOTHICBI.TTF"
"Century Gothic Italic (TrueType)"="GOTHICI.TTF"
"Gulim & GulimChe & Dotum & DotumChe (TrueType)"="gulim.ttc"
"Haettenschweiler (TrueType)"="HATTEN.TTF"
"Impact (TrueType)"="impact.ttf"
"Kartika (TrueType)"="kartika.ttf"
"Latha (TrueType)"="latha.ttf"
"Lucida Sans Regular (TrueType)"="lsans.ttf"
"Lucida Sans Demibold Roman (TrueType)"="lsansd.ttf"
"Lucida Sans Demibold Italic (TrueType)"="lsansdi.ttf"
"Lucida Sans Italic (TrueType)"="lsansi.ttf"
"Lucida Console (TrueType)"="lucon.ttf"
"Lucida Sans Unicode (TrueType)"="l_10646.ttf"
"Mangal (TrueType)"="mangal.ttf"
"Microsoft Sans Serif (TrueType)"="micross.ttf"
"細明體 & 新細明體 (TrueType)"="mingliu.ttc"
"Modern (All res)"="modern.fon"
"MS Gothic & MS PGothic & MS UI Gothic (TrueType)"="msgothic.ttc"
"MS Mincho & MS PMincho (TrueType)"="msmincho.ttc"
"Monotype Corsiva (TrueType)"="MTCORSVA.TTF"
"MV Boli (TrueType)"="mvboli.ttf"
"Palatino Linotype (TrueType)"="pala.ttf"
"Palatino Linotype Bold (TrueType)"="palab.ttf"
"Palatino Linotype Bold Italic (TrueType)"="palabi.ttf"
"Palatino Linotype Italic (TrueType)"="palai.ttf"
"Raavi (TrueType)"="raavi.ttf"
"MS Reference Sans Serif (TrueType)"="REFSAN.TTF"
"MS Reference Specialty (TrueType)"="REFSPCL.TTF"
"Roman (All res)"="roman.fon"
"Script (All res)"="script.fon"
"Shruti (TrueType)"="shruti.ttf"
"仿宋_GB2312 (TrueType)"="simfang.ttf"
"黑體 (TrueType)"="simhei.ttf"
"楷體_GB2312 (TrueType)"="simkai.ttf"
"宋體 & 新宋體 & 宋體-PUA (TrueType)"="simsun.ttc"
"華文新魏 (TrueType)"="STXINWEI.TTF"
"華文中宋 (TrueType)"="STZHONGS.TTF"
"Sylfaen (TrueType)"="sylfaen.ttf"
"Symbol (TrueType)"="symbol.ttf"
"Tahoma (TrueType)"="tahoma.ttf"
"Tahoma Bold (TrueType)"="tahomabd.ttf"
"Times New Roman (TrueType)"="times.ttf"
"Times New Roman Bold (TrueType)"="timesbd.ttf"
"Times New Roman Bold Italic (TrueType)"="timesbi.ttf"
"Times New Roman Italic (TrueType)"="timesi.ttf"
"Trebuchet MS (TrueType)"="trebuc.ttf"
"Trebuchet MS Bold (TrueType)"="trebucbd.ttf"
"Trebuchet MS Bold Italic (TrueType)"="trebucbi.ttf"
"Trebuchet MS Italic (TrueType)"="trebucit.ttf"
"Tunga (TrueType)"="tunga.ttf"
"Verdana (TrueType)"="verdana.ttf"
"Verdana Bold (TrueType)"="verdanab.ttf"
"Verdana Italic (TrueType)"="verdanai.ttf"
"Verdana Bold Italic (TrueType)"="verdanaz.ttf"
"Vrinda (TrueType)"="vrinda.ttf"
"Webdings (TrueType)"="webdings.ttf"
"Wingdings (TrueType)"="wingding.ttf"
"Wingdings 2 (TrueType)"="WINGDNG2.TTF"
"Wingdings 3 (TrueType)"="WINGDNG3.TTF"
"WST_Czec"="wst_czec.fon"
"WST_Engl"="wst_engl.fon"
"WST_Fren"="wst_fren.fon"
"WST_Germ"="wst_germ.fon"
"WST_Ital"="wst_ital.fon"
"WST_Span"="wst_span.fon"
"WST_Swed"="wst_swed.fon"
"華文彩雲 (TrueType)"="華文彩雲.TTF"
"華文琥珀 (TrueType)"="華文琥珀.TTF"
"hakuyocaoshu7000 (TrueType)"="博洋草書7000.TTF"
"HAKUYOXingShu3500 (TrueType)"="博洋行書3500.TTF"
"方正小篆體 (TrueType)"="方正小篆體.ttf"
"方正靜蕾簡體 (TrueType)"="方正靜蕾簡體.fon"
"方正韻動特黑簡體 (TrueType)"="方正韻動特黑簡體.TTF"
"HakusyuGyosyo_kk (TrueType)"="白舟行書教漢.ttf"
"迷你簡啟體 (TrueType)"="簡啟體.TTF"
"迷你簡趣味 (TrueType)"="簡趣味.ttf"
"迷你繁啟體 (TrueType)"="繁啟體.TTF"
"迷你繁唐隸 (TrueType)"="繁唐隸.ttf"
"迷你繁智楷 (TrueType)"="繁智楷.ttf"
"迷你繁智草 (TrueType)"="繁智草.ttf"
"迷你繁曹隸 (TrueType)"="繁曹隸.ttf"
"迷你繁柳楷 (TrueType)"="繁柳楷.ttf"
"迷你繁歐行 (TrueType)"="繁歐行.ttf"
"迷你繁王行 (TrueType)"="繁王行.ttf"
"迷你繁衡方碑 (TrueType)"="繁衡方碑.ttf"
"迷你繁褚楷 (TrueType)"="繁褚楷.ttf"
"迷你繁趙楷 (TrueType)"="繁趙楷.ttf"
"迷你繁陸行 (TrueType)"="繁陸行.ttf"
"タ輛膩 (TrueType)"="美術字.TTF"