wine using -windows-System- font
Saulius Krasuckas
saulius2 at ar.fi.lt
Wed Apr 28 15:13:56 CDT 2004
I have noticed my WINE isn't using mentioned font already for a quiet long
time. After having read http://www.winehq.org/site/docs/wine-user/config-fonts-main
on this I found paragraph "5.10.1.1. How To Convert Windows Fonts". After
I completed first 4 steps I stuck problem with 5th step:
5, Edit the ~/.wine/config file to remove aliases for the fonts you've
just installed.
What does it mean? I have converted and installed such fonts:
-windows-MS Serif-medium-r-normal--16-100-96-96-p-70-microsoft-cp1257
-windows-MS Sans Serif-medium-r-normal-sans-16-100-96-96-p-70-microsoft-cp1257
-windows-System-bold-r-normal-sans-16-100-96-96-p-70-microsoft-cp1257
Now what aliases should I remove? I have tried this:
[fonts]
"Resolution" = "96"
;;;"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"
That didn't help. Then tried this:
[fonts]
"Resolution" = "96"
"Default" = "-windows-System-"
;;;"Default" = "-adobe-helvetica-"
Got same thing. My c:\windows\Fonts\ dir is empty. I am using only CVS
version of Wine. Running with a WINEDEBUG=+font wine winemine gives me:
trace:font:CreateFontIndirectW (12 0 0 0 31 0 0 0 255) L"" => 0x9a
trace:font:CreateFontIndirectW (12 0 0 0 31 0 0 0 0) L"" => 0x9e
trace:font:CreateFontIndirectW (12 0 0 0 22 0 0 0 0) L"MS Sans Serif" => 0xa2
trace:font:CreateFontIndirectW (16 0 0 0 22 0 0 0 0) L"System" => 0xa6
trace:font:CreateFontIndirectW (16 0 0 0 22 0 0 0 0) L"" => 0xaa
trace:font:CreateFontIndirectW (16 0 0 0 31 0 0 0 0) L"" => 0xae
trace:font:CreateFontIndirectW (-11 0 0 0 22 0 0 0 0) L"MS Sans Serif" => 0xb2
trace:font:WineEngInit
trace:font:WineEngInit FreeType version is 2.1.0
trace:font:ReadFontDir Loading fonts from "/home/s2/.wine/dosdevices/c:/windows/Fonts"
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/n022004l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/n021024l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/a010035l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/X11R6/lib/X11/fonts/Type1/couri.pfa
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/n022003l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/a010033l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/n021023l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/n019024l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/n022024l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/n019023l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/X11R6/lib/X11/fonts/Type1/courb.pfa
trace:font:load_fontconfig_fonts fontconfig: /usr/X11R6/lib/X11/fonts/Type1/c0582bt_.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/ghostscript/bchbi.pfa
trace:font:load_fontconfig_fonts fontconfig: /usr/X11R6/lib/X11/fonts/Type1/c0632bt_.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/n022023l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/X11R6/lib/X11/fonts/Type1/c0648bt_.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/n021004l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/a010015l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/a010013l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/n021003l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/n019004l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/default/Type1/n019003l.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/X11R6/lib/X11/fonts/Type1/c0419bt_.pfb
trace:font:load_fontconfig_fonts fontconfig: /usr/share/fonts/msttcorefonts/verdana.ttf
trace:font:AddFontFileToList Loading font file "/usr/share/fonts/msttcorefonts/verdana.ttf" index 0
trace:font:AddFontFileToList fsCsb = 2000019f 00000000/00000287 00000000 00000000 00000000
trace:font:AddFontFileToList Added font L"Verdana" L"Regular"
..and so on.
Any ideas about getting it shown with right System font? TIA.
More information about the wine-users
mailing list