[Bug 13600] Default Wine font setup doesn't always work in japanese locale

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 9 06:26:54 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=13600


Michal Suchanek <hramrach at centrum.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |UNCONFIRMED
         Resolution|INVALID                     |




--- Comment #32 from Michal Suchanek <hramrach at centrum.cz>  2008-06-09 06:26:51 ---
(In reply to comment #30)
> (In reply to comment #29)
> 
> > > > > That's not different from Windows when required font is missing in
> > > > > the underlying system.
> > > > Yes, but Wine is not about replicating all deficiencies of Windows. It could do
> > > > better sometimes ;-)
> > > 
> > > Predefined API behaviour and philosophical speculations are mutually exclusive
> > > things.
> > How is substituting fonts in a wine registry entry a predefined API behaviour?
> 
> Because Wine behaves the same way as Windows does when a font is missing.

However, this whole bug is about emulating the existence of a font, not about
behaviour of Wine when a font is missing.

> 
> > This is a minimal regedit file that fixes my application:
> > REGEDIT4
> > [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
> > NT\CurrentVersion\FontSubstitutes]
> > "System"="MS Shell Dlg"
> > [HKEY_USERS\S-1-5-4\Software\Wine\Fonts\Replacements]
> > "MS UI Gothic"="Sazanami Gothic"
> 
> That's exactly which I was talking about - a missing Windows font. This clearly
> makes this bug invalid.
> 

Not really. First a system font that is expected to exist on Windows should not
be missing for Wine to create a usable runtime emulation layer.

Secondly looking at the trace it looks like the font in fact exists but is
deficient. When running Notepad I get a font that is called 'System', looks as
ugly as the one used in my test application when the fonts are not substituted
(uppercase letters are shown using line width different from lowercase), and
does not work for Japanese.



More information about the wine-bugs mailing list