fazbear201 / winezeug

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

change 430 introduced font problem for apps that hardcode "Microsoft Sans Serif" #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
See 
http://appdb.winehq.org/objectManager.php?sClass=version&iId=4278
which says

--- snip ---
Font display showing only symbols and garbage after winetricks fontfix step 
(Microsoft Sans Serif)
If you use a newer version of 'winetricks' script which installs some true 
type font fixes ('fontfix' step), Wine font selector might chose an 
unsuited font as substitute for "Microsoft Sans Serif".

When "Microsoft Sans Serif" is hard coded into application resources, 
"Samyak Oriya" might be chosen because there is no default substitute, 
leading to garbage display. This only happens with newer versions of 
winetricks. Previously "Tahoma" was chosen as substitute - still not 
optimal but ok. 

To work around this, add explicit substitute for "Microsoft Sans Serif" to 
Registry, for example "Tahoma" or "Sans": 

[Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes] 
"Microsoft Sans Serif"="Sans"
--- snip ---

Original issue reported on code.google.com by daniel.r...@gmail.com on 5 Aug 2009 at 2:05

GoogleCodeExporter commented 8 years ago
Fixed by r619.

Original comment by austinenglish@gmail.com on 8 Aug 2009 at 10:38