Add FontReplacements section to map Wine font names to Windows ones

Dmitry Timoshkov dmitry at baikal.ru
Wed Sep 7 04:31:56 CDT 2005


Hello,

This is a part of the proper fonts setup in Wine.

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Add FontReplacements section to map Wine font names to Windows ones.

--- cvs/hq/wine/tools/wine.inf	Wed Aug 24 01:00:30 2005
+++ wine/tools/wine.inf	Wed Sep 07 09:27:28 2005
@@ -38,6 +38,7 @@ AddReg=\
     DirectX,\
     Environment,\
     Fonts,\
+    FontReplacements,\
     MCI,\
     Misc,\
     Nls,\
@@ -205,6 +206,14 @@ HKLM,%FontSubStr%,"Times New Roman Greek
 HKLM,%FontSubStr%,"Times New Roman TUR,162",,"Times New Roman,162"
 HKLM,%FontSubStr%,"Tms Rmn",,"Times New Roman"
 HKLM,System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts,"LogPixels",0x10001,00000060
+
+[FontReplacements]
+HKLM,Software\Wine\Wine\FontReplacements,"Courier",,"Wine Courier"
+HKLM,Software\Wine\Wine\FontReplacements,"Marlett",,"Wine Marlett"
+HKLM,Software\Wine\Wine\FontReplacements,"MS Sans Serif",,"Wine Sans Serif"
+HKLM,Software\Wine\Wine\FontReplacements,"MS Serif",,"Wine Serif"
+HKLM,Software\Wine\Wine\FontReplacements,"Small Fonts",,"Wine Small Fonts"
+HKLM,Software\Wine\Wine\FontReplacements,"System",,"Wine System"
 
 [MCI]
 HKLM,%Mci32Str%,"AVIVideo",,"mciavi32.dll"






More information about the wine-patches mailing list