[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#362920: cvs - X11R7.0 incompatibilities



> Package: libxfont1
> 
> The attached patch needs to be applied to
> libxfont-1.0.0/src/fontfile/ffcheck.c.
> 
> Since Debian has not reached 7.1 yet, it would be great if it could be
> backported to 7.0.  Otherwise Xprint has to select generic fonts to print
> with, which is quitw ugly.
> 

Painfully, we may have to proceed without freetype support in Xprint
after all.

After applying the libxfont patch, Xprt is able to start, and partially
works.  However as soon as I try to print, accessing a truetype font,
Xprt crashes with

Fatal server error:
PS DDX internal error while converting FreeType font '/usr/lib/X11/fonts/Type1/c0648bt_.pfb' to PS Type1, error=11

This error does not occur with 7.1 (cvs) libraries.  The specific one
which prevents me from uploading Xprint from cvs is xfixes. cvs
requires xfixes4 while X11R7.0 only provides xfixes3.

There are a couple of alternative ways to proceed:

1) upload Xprint from X11R7.0 and ignore the crashes (not really reasonable)

2) upload with freetype support switched off.  output will look ugly
(blocky courier font instead of nice curved truetype)

3) hack cvs Xprint so it thinks it doesn't need xfixes4.

I haven't tried 3) since I assume the Xorg developers made the xserver
explicitly depend on xfixes4 for a reason. However it's possible that
reason applies to some other part of the server code not affecting
Xprint.

I'll sleep over whether 3) is viable. Besides, if the underlying bug
(assumed fixed in cvs) is in libxfonts, then uploading a cvs Xprint
won't help anyway. Indeed, a cvs version with a dodgy workaround for
xfixes4 does crash. I'm not certain that a better xfixes4 fix would
change that.

This will all clear up much more easily once Debian has upgraded to
X11R7.1.

Drew




Reply to: