Wine 字型設定

Wine 真的是很好用的工具,我用它執行過 utorren、foobar、ImgBurn、Lotus Notes 等,但中文一直無法正確顯示。

Wine 的字體放在 /home/個人家目錄/.wine/drive_c/windows/fonts 內,預設空空如也,應該是微軟的新細明體及標楷體有版權限制,而系統預設使用此字型,所以 wine 執行中文程式常會出現下圖情況。


我用 wine 跑 OfflineList ,中文字通通不見了...



開始設定中文字型吧!

Ubuntu 8.04 內預設安裝上海新宋字體,為了節省硬碟空間,可以使用軟連結,將字型指定到 Wine fonts 目錄內。
ln -s /usr/share/fonts/truetype/arphic/uming.ttc ~/.wine/drive_c/windows/Fonts/uming.ttc
接著我們需修改下述3個檔案,指定字型使用 uming
  • user.reg
  • system.reg
  • win.ini

1. 修改user.reg

gedit ~/.wine/user.reg

在文件最底下加入以下內容:

[Software\\Wine\\X11 Driver]
"ClientSideAntiAliasWithRender"="N"
[Software\\Wine\\Fonts\\Replacements]
"System"="AR PL UMing CN"
"Arial"="AR PL UMing CN"
"Fixedsys"="AR PL UMing CN"
"Microsoft Sans Serif"="AR PL UMing CN"
"MS UI Gothic"="AR PL UMing CN"
"Tahoma"="AR PL UMing CN"
"Terminal"="AR PL UMing CN"
"MingLiU"="AR PL UMing CN"
"PMingLiU"="AR PL UMing CN"

2. 修改system.reg

gedit ~/.wine/system.reg

在文件最底下加入:
[Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes]
"Arial"="Arial"
"Arial CE,238"="AR PL UMing CN"
"Arial CYR,204"="AR PL UMing CN"
"Arial Greek,161"="AR PL UMing CN"
"Arial TUR,162"="AR PL UMing CN"
"Courier New"="Courier New"
"Courier New CE,238"="AR PL UMing CN"
"Courier New CYR,204"="AR PL UMing CN"
"Courier New Greek,161"="AR PL UMing CN"
"Courier New TUR,162"="AR PL UMing CN"
"FixedSys"="AR PL UMing CN"
"Helv"="AR PL UMing CN"
"Helvetica"="AR PL UMing CN"
"MingLiU"="AR PL UMing CN"
"MS Sans Serif"="AR PL UMing CN"
"MS Shell Dlg"="AR PL UMing CN"
"MS Shell Dlg 2"="AR PL UMing CN"
"System"="AR PL UMing CN"
"Tahoma"="AR PL UMing CN"
"Times"="Times"
"Times New Roman"="Times New Roman"
"Times New Roman CE,238"="AR PL UMing CN"
"Times New Roman CYR,204"="AR PL UMing CN"
"Times New Roman Greek,161"="AR PL UMing CN"
"Times New Roman TUR,162"="AR PL UMing CN"
"Tms Rmn"="AR PL UMing CN"

[System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts]
"LogPixels"=dword:00000060


3. 修改win.ini

這裡修改 dialog window buttom 字體大小

gedit ~/.wine/drive_c/windows/win.ini

在文件最底下加入:

[Desktop]
menufontsize=12
messagefontsize=12
statusfontsize=12
IconTitleSize=12


修改完,重新開啟 Wine 執行的軟體,中文可正常顯示了。Wine 又邁向無敵的一步啦!

16 意見:

森林 提到...

你好,google中搜到你这篇文章,根据你的方法修改后还是没变,能加qq指导下不?谢谢!
QQ:158477359

匿名 提到...

I am in fact thankful to the owner of this website
who has shared this great paragraph at at this time.

my blog private krankenversicherung beiträge

匿名 提到...

I am regular reader, how are you everybody? This post posted at
this web site is genuinely nice.

Also visit my blog: Can U Buy A House With Bad Credit

匿名 提到...

Wonderful website. Plenty of helpful info here. I am sending it to several buddies ans additionally sharing in
delicious. And of course, thank you to your sweat!

Also visit my homepage carhartt outlet

匿名 提到...

Hmm is anyone else having problems with the images on this blog
loading? I'm trying to determine if its a problem on my end or if it's the blog.
Any suggestions would be greatly appreciated.


Review my web blog - Best website Hosts

匿名 提到...

Hello would you mind letting me know which webhost you're utilizing? I've
loaded your blog in 3 different browsers and I must say
this blog loads a lot quicker then most. Can you recommend a good
internet hosting provider at a honest price? Thank you, I appreciate
it!

Look at my page - kredit ohne schufa selbständige

匿名 提到...

Hello are using Wordpress for your blog platform? I'm new to the blog world but I'm trying to get started and create my own.
Do you need any html coding expertise to make your own blog?
Any help would be really appreciated!

my blog; pkv vergleich anonym

匿名 提到...

Useful information. Fortunate me I discovered your website
by chance, and I'm surprised why this accident did not took place earlier! I bookmarked it.

my site; moms at home

匿名 提到...

With a 60 day maturity, turnips need to be in the ground by August 15.
Mulch will reduce weed growth and prevent new weeds from growing
in the garden. Mulch also keeps soil from being depleted of vital nutrients, so gardeners
do not have to rotate planting locations from year to year.



My blog :: mulching

匿名 提到...

Your pouches will degrade after time, so you will have to repair them
every once in a while in the abyss. Jundee brought up US$400 million of gold property alone, while Bronzewing,
at this time owned by Navigator Strategies Ltd. Gold is
a platinum widely adorned and also highly valued globally.



My page; mining

匿名 提到...

There was a point when I was single that I used to judge people I dated by whether they liked cats
or not. When Muslims and Christians weren't in good terms, Christian monks believe to have escaped the persecution and found a shelter within the walls of the persecuted tombs and temples of ancient Egypt, but ironically, those monks have ripped many of the reliefs on those tombs because they distracted them from practicing their religion, not to mention that the reliefs represented "fake" religion that they didn't want to be associated with.
Hindi News Portals are catering regional people in
different parts of India. In just about every objective way that nations can
be judged the US is losing the present. Easter Island's 'why' question hasn't been satisfactorily answered yet IMHO.


Also visit my web page - egyptian newspapers

匿名 提到...

Karen Millen UK Night gowns usually are synonymous with splendor, poise in addition to wealth. A girl whom has on this does think flattered and trendy. Since there are a huge variety of garments easily obtainable in lots of the departmental an internet-based shops, picking a suitable dress can be completed with the appropriate details. The next areas will disclose probably the most popular gowns for official, casual along with semi-formal functions.
[url=http://www.wimac.co.uk/partners]Karen Millen Sale[/url] Once more, these types of dresses usually are based on the formality in the celebration. One of the most formal attire may be the night dress. The difference relating to the outfit plus the some other two can it be is actually extended which is often created from weightier, much more deluxe and expensive fabric. Per night dress is normally created from silk, silk, velvety or perhaps chiffon. It is hemline can vary from their tea period and dancer to full-length attire. Evening hours clothes are usually worn at black link as well as bright wrap occasions, whilst soccer ball outfits are clearly only worn for you to balls.
[url=http://birkenstockshop.tumblr.com/]Birkenstock[/url] Discoverer Distinct Head can drill within A dozen,500 ft of water as well as 50,1,000 entire degree -- over doubly as deeply since the greatest seiko previously uncovered : effectively (pun planned) below the mythic biogenic "oil windows.In . And they have an additional superior Enterprise-class send Discoverer Creativity due Q1 The year of 2010. The united states I think many of us actually peaked due to the fact Bolsheviks with Wa (Barak, McCain, Co.) detest commercial revenue (they think 10% revenue border is just too big excessive nevertheless 33% income tax rates are way too low), dislike hydrocarbons because of the faith that climatic change is actually a result of these, and thus will not we will exercise with Colorado, Canada, or maybe California. I suspect they are a number of the main reasons why we want international essential oil.

匿名 提到...

I really like reading through an article that can make men and women think.
Also, thanks for permitting me to comment!

my weblog; reseller hosting programs

匿名 提到...

Hi to all, the contents present at this website are actually remarkable for
people experience, well, keep up the good work
fellows.

Here is my website - click through the up coming webpage

匿名 提到...

Now I am going to do my breakfast, afterward having my breakfast
coming again to read more news.

Feel free to surf to my web page fatloss factor reviews

匿名 提到...

You really makе іt appeaг reallу easy with your ргеѕentаtiοn but Ӏ finԁ thіs topic to be really something
thаt Ι think I'd never understand. It seems too complicated and extremely huge for me. I am taking a look ahead in your next submit, I'll try
to get the сlіng of it!

My homepаge DiamondLinks