Package: libxfont1 Version: 1:1.0.0-3.1 Severity: important Tags: patch In the change from monolith to modular, some XFont defines were altered, e.g. BUILD_FREETYPE to XFONT_FREETYPE
I discovered it in the course of updating Xprint upstream, DanielS has applied the patch (see https://bugs.freedesktop.org/show_bug.cgi?id=603). 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. The attached patch needs to be applied to libxfont-1.0.0/src/fontfile/ffcheck.c. Thanks, Drew -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16 Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Versions of packages libxfont1 depends on: ii libc6 2.3.6-6 GNU C Library: Shared libraries ii libfontenc1 1:1.0.1-2 X11 font encoding library ii libfreetype6 2.1.10-3 FreeType 2 font engine, shared lib ii x11-common 1:7.0.10 X Window System (X.Org) infrastruc ii zlib1g 1:1.2.3-11 compression library - runtime libxfont1 recommends no packages. -- no debconf information
--- ffcheck.c.orig 2006-04-16 23:17:13.000000000 +1000 +++ ffcheck.c 2006-04-16 23:17:42.000000000 +1000 @@ -126,17 +126,17 @@ #ifndef CRAY -#ifdef BUILD_SPEEDO +#ifdef XFONT_SPEEDO SpeedoRegisterFontFileFunctions (); #endif -#ifdef BUILD_TYPE1 +#ifdef XFONT_TYPE1 Type1RegisterFontFileFunctions(); #endif #endif -#ifdef BUILD_CID +#ifdef XFONT_CID CIDRegisterFontFileFunctions(); #endif -#ifdef BUILD_FREETYPE +#ifdef XFONT_FREETYPE FreeTypeRegisterFontFileFunctions(); #endif