{"id":339,"date":"2010-04-21T20:21:48","date_gmt":"2010-04-21T20:21:48","guid":{"rendered":""},"modified":"2010-04-21T20:21:48","modified_gmt":"2010-04-21T20:21:48","slug":"339","status":"publish","type":"post","link":"https:\/\/www.poloo.org\/?p=339","title":{"rendered":"wine\u4e2d\u6587\u4e71\u7801\u7684\u89e3\u51b3\u65b9\u6cd5"},"content":{"rendered":"<p>\u539f\u6587\u6765\u81ea\u4e92\u8054\u7f51\uff0c\u7ecf\u672c\u4eba\u6d4b\u8bd5\uff0c\u4f5c\u4e86\u90e8\u5206\u4fee\u6539\u3002<\/p>\n<p>\u65b0\u88c5\u7684wine\u4e2d\u6587\u5168\u662f\u4e71\u7801\uff0c\u9700\u8981\u4fee\u6539\u4e00\u4e0b\u51e0\u4e2a\u914d\u7f6e\u6587\u4ef6\uff0c\u627e\u5230\u4e00\u7bc7\u6bd4\u8f83\u8be6\u7ec6\u7684\u914d\u7f6e\u8bf4\u660e\uff0c\u5206\u4eab\u4e00\u4e0b\uff1a<\/p>\n<p>\u6b65\u9aa4\uff1a<br \/>1. \u521d\u59cb\u8bbe\u7f6e<br \/>\u8fd0\u884c winecfg\uff0c\u628a\u6a21\u62df\u7684 Windows \u7cfb\u7edf\u8bbe\u7f6e\u4e3a Windows XP \u6216\u8005 Windows 2000\u3002<br \/>2. \u51c6\u5907\u5b57\u4f53<br \/>\u4e3a\u4e86\u8ba9 Windows \u5e94\u7528\u7a0b\u5e8f\u770b\u4e0a\u53bb\u66f4\u7f8e\u89c2\uff0c\u6240\u4ee5\u9700\u8981 Windows \u4e0b\u9762\u7684\u5b57\u4f53\u3002<br \/>\u7531\u4e8e\u6211\u5df2\u7ecf\u5c06 simsun.ttc \u590d\u5236\u5230 \/usr\/share\/fonts\/windows\/ \u76ee\u5f55\u4e2d\u4e86\u3002\u6240\u4ee5\u6211\u53ea\u9700\u8981\u5728 ~\/.wine\/drive_c\/windows\/fonts\/ \u76ee\u5f55\u4e2d\u4e3a simsun.ttc \u521b\u5efa\u4e00\u4e2a\u7b26\u53f7\u8fde\u63a5\uff1a<\/p>\n<p>cd ~\/.wine\/drive_c\/windows\/fonts<br \/>ln -s \/usr\/share\/fonts\/windows\/simsun.ttc simsun.ttc<br \/>ln -s \/usr\/share\/fonts\/windows\/simsun.ttc simfang.ttc<\/p>\n<p>\u521b\u5efa\u4e00\u4e2a simfang.ttc \u662f\u8bb8\u591a Windows \u5e94\u7528\u9ed8\u8ba4\u4f7f\u7528 simfang.ttc \u5b57\u4f53\u3002<br \/>3. \u4fee\u6539 ~\/.wine\/system.reg<br \/>\u88c5\u597d\u5b57\u4f53\u540e\uff0c\u8fd8\u8981\u4fee\u6539\u4e00\u4e0b Wine \u7684\u6ce8\u518c\u8868\u8bbe\u7f6e\uff0c\u6307\u5b9a\u4e0e\u5b57\u4f53\u76f8\u5173\u7684\u8bbe\u7f6e\uff1a<br \/>gedit ~\/.wine\/system.reg<br \/>\uff08\u4e00\u5b9a\u8981\u4f7f\u7528 gedit \u6216\u5176\u4ed6\u652f\u6301 gb2312\/utf8 \u7f16\u7801\u7684\u7f16\u8f91\u5668\u4fee\u6539\u8fd9\u4e9b\u6587\u4ef6\uff0c\u5426\u5219\u6587\u4ef6\u4e2d\u7684\u4e2d\u6587\u53ef\u80fd\u53d8\u4e71\u7801\uff09<br \/>\u641c\u7d22\uff1a LogPixels<br \/>\u627e\u5230\u7684\u884c\u5e94\u8be5\u662f\uff1a[System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts]<br \/>\u5c06\u5176\u4e2d\u7684\uff1a<br \/>&#8220;LogPixels&#8221;=dword:00000060<br \/>\u6539\u4e3a\uff1a<br \/>&#8220;LogPixels&#8221;=dword:00000070<br \/>\u641c\u7d22\uff1a FontSubstitutes<br \/>\u627e\u5230\u7684\u884c\u5e94\u8be5\u662f\uff1a[Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes]<br \/>\u5c06\u5176\u4e2d\u7684\uff1a<br \/>&#8220;MS Shell Dlg&#8221;=&#8221;Tahoma&#8221;<br \/>&#8220;MS Shell Dlg 2\u2033=&#8221;Tahoma&#8221;<br \/>\u6539\u4e3a\uff1a<br \/>&#8220;MS Shell Dlg&#8221;=&#8221;SimSun&#8221;<br \/>&#8220;MS Shell Dlg 2\u2033=&#8221;SimSun&#8221;<br \/>4. \u4fee\u6539 ~\/.wine\/drive_c\/windows\/win.ini<br \/>gedit ~\/.wine\/drive_c\/windows\/win.ini<br \/>\u5728\u6587\u4ef6\u672b\u5c3e\u52a0\u5165\uff1a<\/p>\n<p>[Desktop]<br \/>menufontsize=13<br \/>messagefontsize=13<br \/>statusfontsize=13<br \/>IconTitleSize=13<\/p>\n<p>5. \u6700\u5173\u952e\u7684\u4e00\u6b65\uff0c\u7f51\u4e0a\u5f88\u591a\u6587\u7ae0\u4e2d\u6ca1\u6709\u63d0\u5230\u7684\u4e00\u6b65\u2500\u2500\u628a\u4e0b\u9762\u7684\u4ee3\u7801\u4fdd\u5b58\u4e3azh.reg\uff0c\u7136\u540e\u7ec8\u7aef\u6267\u884c<br \/>regedit zh.reg<\/p>\n<p>REGEDIT4<br \/>[HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionFontSubstitutes]<br \/>&#8220;Arial&#8221;=&#8221;simsun&#8221;<br \/>&#8220;Arial CE,238&#8243;=&#8221;simsun&#8221;<br \/>&#8220;Arial CYR,204&#8243;=&#8221;simsun&#8221;<br \/>&#8220;Arial Greek,161&#8243;=&#8221;simsun&#8221;<br \/>&#8220;Arial TUR,162&#8243;=&#8221;simsun&#8221;<br \/>&#8220;Courier New&#8221;=&#8221;simsun&#8221;<br \/>&#8220;Courier New CE,238&#8243;=&#8221;simsun&#8221;<br \/>&#8220;Courier New CYR,204&#8243;=&#8221;simsun&#8221;<br \/>&#8220;Courier New Greek,161&#8243;=&#8221;simsun&#8221;<br \/>&#8220;Courier New TUR,162&#8243;=&#8221;simsun&#8221;<br \/>&#8220;FixedSys&#8221;=&#8221;simsun&#8221;<br \/>&#8220;Helv&#8221;=&#8221;simsun&#8221;<br \/>&#8220;Helvetica&#8221;=&#8221;simsun&#8221;<br \/>&#8220;MS Sans Serif&#8221;=&#8221;simsun&#8221;<br \/>&#8220;MS Shell Dlg&#8221;=&#8221;simsun&#8221;<br \/>&#8220;MS Shell Dlg 2&#8243;=&#8221;simsun&#8221;<br \/>&#8220;System&#8221;=&#8221;simsun&#8221;<br \/>&#8220;Tahoma&#8221;=&#8221;simsun&#8221;<br \/>&#8220;Times&#8221;=&#8221;simsun&#8221;<br \/>&#8220;Times New Roman CE,238&#8243;=&#8221;simsun&#8221;<br \/>&#8220;Times New Roman CYR,204&#8243;=&#8221;simsun&#8221;<br \/>&#8220;Times New Roman Greek,161&#8243;=&#8221;simsun&#8221;<br \/>&#8220;Times New Roman TUR,162&#8243;=&#8221;simsun&#8221;<br \/>&#8220;Tms Rmn&#8221;=&#8221;simsun&#8221;<\/p>\n<p>\u518dwinecfg\uff0c\u5c31\u53ef\u4ee5\u770b\u5230\u4e2d\u6587\u80fd\u6b63\u5e38\u663e\u793a\u4e86\u3002<br \/><img decoding=\"async\" src=\"http:\/\/www.poloo.org\/wp-content\/attachments\/month_1004\/o2010421202053.jpg\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u6587\u6765\u81ea\u4e92\u8054\u7f51\uff0c\u7ecf\u672c\u4eba\u6d4b\u8bd5\uff0c\u4f5c\u4e86\u90e8\u5206\u4fee\u6539\u3002 \u65b0\u88c5\u7684wine\u4e2d\u6587\u5168\u662f\u4e71&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-339","post","type-post","status-publish","format-standard","hentry","category-Linux"],"_links":{"self":[{"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/posts\/339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.poloo.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=339"}],"version-history":[{"count":0,"href":"https:\/\/www.poloo.org\/index.php?rest_route=\/wp\/v2\/posts\/339\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.poloo.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.poloo.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.poloo.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}