I encountered a big problem which take me a few hours to understand. I downloaded Xprt 009 RPM (I also compiled from SRC RPM but I have some segmentation faults after). I'm using SUSE Linux 9.1, XFree 4.3.99 and Mozilla 1.6 (xprint enabled). When I launch Xprt with Xprt -fp (etc),/usr/X11R6/lib/X11/fonts/truetype,(etc) :10 I get a error message : failed to set default font path 'PRINTER:(...),/usr/X11R6/lib/X11/fonts/truetype,(...)' Fatal server error: could not open default font 'fixed' So, I tried to find how to make it work, and I found the problem came from the /usr/X11R6/lib/X11/fonts/truetype font path. When I remove it, Xprt launches correcty (but I can't print any web pages under Mozilla which contains truetype fonts). Then I analyzed the path content : only pure truetype fonts. I was thinking truetype support was broken in 009 but the download page said truetype is supported. So I created a new directory and put some truetype fonts on it, made fonts.dir and fonts.scale, and added this new font path in Xprt. It worked ! In my original truetype font path I have about 1200 ttf files. After analysis, I found the origin of the problem : only ONE font which has blank spaces in is file name ! The font name is "It wasn't me.ttf" included in a free truetype font package called free-ttf-fonts. Removing this font, rebuild fonts.dir and fonts.scale, and it's possible to launch Xprt with the correct font path.
Sebastien wrote: > In my original truetype font path I have about 1200 ttf files. After analysis, > I found the origin of the problem : only ONE font which has blank spaces in is > file name ! The font name is "It wasn't me.ttf" included in a free truetype > font package called free-ttf-fonts. I guess the old X11R6.6-based tree isn't able to deal with such problems. Egbert: What will the current Xorg trunk do ? Will the font path element be removed because one font is broken or will the broken font name simply be ignored ?
After install xorg from current cvs I had this: Fatal server error: could not open default font 'fixed' xfs doesn't start, I work arround not using xfs like this: ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" # FontPath "unix/:7100" I upgrade to freetype-2.1.7 but don't resolve the problem. how you rebuild fonts.dir and fonts.scale ? and this not happened one week ago, simple after make world make install xfs stop to working even with #define BuildFreeType NO To disable support for TrueType fonts, uncomment these.
Closing WONTFIX because nobody cares about Xprint. Reopen if you plan to address this bug.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.