Wine routinely crashes X (!!) while building font metrics

Rein Klazes rklazes at xs4all.nl
Tue Jun 1 10:09:11 CDT 2004


On Tue, 1 Jun 2004 09:38:02 -0400 (EDT), you wrote:

> This is a problem I've had on my machines (several) recently. All are
> Debian 3.0 (Woody) machines. The problem is reproducable 100% of the time,
> whether I am using WINE locally or exporting the display across the LAN to
> my laptop; the problem exists in pre-built RH 7.3 WINE RPMs Debianized
> with alien --to-deb _AND_ with WINEs I built from source.
> 
> When starting up WINE, it starts building the font metrics, and gets
> pretty far into the double-digits, then BOOM, crashes X completely. The
> remarkable thing is that if I run wine on my desktop, with the display
> exported to my laptop (export DISPLAY=deagol:0.0; wine foo), it crashes
> the laptop's X server! I guess X really -is- network-transparent ;)
> 
> Anyhow, this is a major problem. Can anyone help me?

The consensus is that this is caused by a broken X font, that should be
removed. Add "Synchronous" = "Y" to the [x11drv] section of your config
and run wine like "WINEDEBUG=+font wine ..." and search the output
(backwards) for the offending font.

MUCH more recommended is to populate your Windows\Fonts with some
TrueType fonts. Wine will not use any X fonts and the quality is much
better.

A good set of TT fonts can be downloaded using the Debian msttcorefonts
package.

Rein.
-- 
Rein Klazes
rklazes at xs4all.nl



More information about the wine-users mailing list