FrogCast / winetricks

Automatically exported from code.google.com/p/winetricks
0 stars 0 forks source link

fakechinese missing font replacement #462

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Installing the Kugou music player (as per 
https://bugs.winehq.org/show_bug.cgi?id=5971#c18) revealed that a font 
replacement is missing from fakechinese.

We need to replace "\x5b8b\x4f53" with "WenQuanYi Micro Hei". "\x5b8b\x4f53" is 
the equivalent of "宋体", which is specified here:

http://wiki.winehq.org/FontReplacements?action=AttachFile&do=get&target=0001-loa
der-wine.inf.in-Added-localized-font-name-replaceme.txt

"新細明體" -> "WenQuanYi Micro Hei" is also missing from winetricks' 
replacement list, but Kugou does not benefit from it.

Original issue reported on code.google.com by r...@gentoo.org on 5 Jan 2015 at 2:33

GoogleCodeExporter commented 8 years ago
What's the version of your winetricks?
This problem should have been fixed in git.

If the git version still has problems, please test this patch

Original comment by litimetal on 7 Jan 2015 at 6:03

Attachments:

GoogleCodeExporter commented 8 years ago
The git version has not been patched:

https://code.google.com/p/winetricks/source/browse/src/winetricks

Anyway, I had written a similar patch locally, except it used "\x5b8b\x4f53" 
instead of "宋体" and did not include "新細明體". If you edit the 
registry manually, you will find that wine converts the unicode representation 
to that ASCII escape sequence when it has a chance to update the registry.

Original comment by r...@gentoo.org on 8 Jan 2015 at 5:42

GoogleCodeExporter commented 8 years ago
Does that patch work for both of you?

Original comment by austinenglish@gmail.com on 14 Jan 2015 at 10:05