From df84ea7bf12ebacf8d5cd1fecceeeccc64ac363a Mon Sep 17 00:00:00 2001 From: Qian Hong Date: Thu, 8 Nov 2012 15:48:08 +0800 Subject: [PATCH] tools/wine.inf.in: Added localized font name replacement. Reply-To: wine-devel@winehq.org To: wine-patches@winehq.org --- tools/wine.inf.in | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/tools/wine.inf.in b/tools/wine.inf.in index 03a748a..24cc0b9 100644 --- a/tools/wine.inf.in +++ b/tools/wine.inf.in @@ -1,3 +1,6 @@ +;; To support localized font name replacement, this file should be encoded in +;; UTF-8 with BOM, be careful not to strip the BOM header! +;; ;; .INF script for the basic Wine configuration ;; Version: @PACKAGE_STRING@ ;; @@ -581,6 +584,21 @@ HKLM,%FontSubStr%,"Times New Roman CYR,204",,"Times New Roman,204" HKLM,%FontSubStr%,"Times New Roman Greek,161",,"Times New Roman,161" HKLM,%FontSubStr%,"Times New Roman TUR,162",,"Times New Roman,162" HKLM,System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts,"LogPixels",0x10003,0x00000060 +HKCU,Software\Wine\Fonts\Replacements,"SimSun",,"WenQuanYi Micro Hei" +HKCU,Software\Wine\Fonts\Replacements,"宋体",,"WenQuanYi Micro Hei" +HKCU,Software\Wine\Fonts\Replacements,"PMingLiU",,"WenQuanYi Micro Hei" +HKCU,Software\Wine\Fonts\Replacements,"新細明體",,"WenQuanYi Micro Hei" +HKCU,Software\Wine\Fonts\Replacements,"MS Gothic",,"Ume Gothic" +HKCU,Software\Wine\Fonts\Replacements,"MS PGothic",,"Ume P Gothic" +HKCU,Software\Wine\Fonts\Replacements,"MSPゴシック",,"Ume P Gothic" +HKCU,Software\Wine\Fonts\Replacements,"MS UI Gothic",,"Ume UI Gothic" +HKCU,Software\Wine\Fonts\Replacements,"MS Mincho",,"Ume Mincho" +HKCU,Software\Wine\Fonts\Replacements,"MS PMincho",,"Ume P Mincho" +HKCU,Software\Wine\Fonts\Replacements,"Batang",,"UnBatang" +HKCU,Software\Wine\Fonts\Replacements,"Dotum",,"UnDotum" +HKCU,Software\Wine\Fonts\Replacements,"Gulim",,"UnDotum" +HKCU,Software\Wine\Fonts\Replacements,"Arial Unicode MS",,"Droid Sans Fallback" + [MCI] HKLM,%Mci32Str%,"AVIVideo",,"mciavi32.dll" -- 1.7.5.4