Package: openjdk-6-jre-headless Version: 6b11-6 Followup-For: Bug #495988 Tags: patch
The DejaVu and Type1 font paths in the file /etc/java-6-openjdk/fontconfig.properties.src are incorrect, so the generated file /etc/java-6-openjdk/fontconfig.bfc is also incorrect. Both files are part of the package openjdk-6-jre-headless. I attach the patch (-p0) to fix the file fontconfig.properties.src, and the fontconfig.bfd (generated with 'java -jar /usr/lib/jvm/java-6-openjdk/jre/lib/compilefontconfig.jar /etc/java-6-openjdk/fontconfig.properties.src /etc/java-6-openjdk/fontconfig.bfc'). Fonts now look much better but still without antialiasing. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (400, 'unstable'), (300, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8) Shell: /bin/sh linked to /bin/bash Versions of packages openjdk-6-jre-headless depends on: ii dpkg 1.14.20 Debian package management system ii java-common 0.30 Base of all Java packages ii libaccess-bridge-java 1.23.0-2 Java Access Bridge for GNOME ii libc6 2.7-13 GNU C Library: Shared libraries ii libcups2 1.3.8-1 Common UNIX Printing System(tm) - ii libfreetype6 2.3.7-2 FreeType 2 font engine, shared lib ii libgcc1 1:4.3.1-9 GCC support library ii liblcms1 1.17.dfsg-1 Color management library ii openjdk-6-jre-lib 6b11-6 OpenJDK Java runtime (architecture ii rhino 1.7R1-2 JavaScript engine written in Java ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime Versions of packages openjdk-6-jre-headless recommends: ii ca-certificates-java 20080712 Common CA certificates (JKS keysto ii libnss-mdns 0.10-3 NSS module for Multicast DNS name ii tzdata-java 2008e-3 time zone and daylight-saving time Versions of packages openjdk-6-jre-headless suggests: ii sun-java6-fonts 6-07-4 Lucida TrueType fonts (from the Su pn ttf-arphic-uming <none> (no description available) pn ttf-baekmuk | ttf-unfonts | t <none> (no description available) ii ttf-dejavu-core 2.25-1 Vera font family derivate with add pn ttf-indic-fonts <none> (no description available) pn ttf-kochi-gothic | ttf-sazana <none> (no description available) pn ttf-kochi-mincho | ttf-sazana <none> (no description available) -- no debconf information
--- /etc/java-6-openjdk/fontconfig.properties.src 2008-09-05 17:10:00.000000000 +0200 +++ /etc/java-6-openjdk/fontconfig.properties.src 2008-09-05 17:10:00.000000000 +0200 @@ -177,20 +177,20 @@ # Font File Names -filename.DejaVu_Sans=/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf -filename.DejaVu_Sans_Bold=/usr/share/fonts/ttf-dejavu/DejaVuSans-Bold.ttf -filename.DejaVu_Sans_Oblique=/usr/share/fonts/ttf-dejavu/DejaVuSans-Oblique.ttf -filename.DejaVu_Sans_Bold_Oblique=/usr/share/fonts/ttf-dejavu/DejaVuSans-BoldOblique.ttf - -filename.DejaVu_Sans_Mono=/usr/share/fonts/ttf-dejavu/DejaVuSansMono.ttf -filename.DejaVu_Sans_Mono_Bold=/usr/share/fonts/ttf-dejavu/DejaVuSansMono-Bold.ttf -filename.DejaVu_Sans_Mono_Oblique=/usr/share/fonts/ttf-dejavu/DejaVuSansMono-Oblique.ttf -filename.DejaVu_Sans_Mono_Bold_Oblique=/usr/share/fonts/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf - -filename.DejaVu_Serif=/usr/share/fonts/ttf-dejavu/DejaVuSerif.ttf -filename.DejaVu_Serif_Bold=/usr/share/fonts/ttf-dejavu/DejaVuSerif-Bold.ttf -filename.DejaVu_Serif_Oblique=/usr/share/fonts/ttf-dejavu/DejaVuSerif-Oblique.ttf -filename.DejaVu_Serif_Bold_Oblique=/usr/share/fonts/ttf-dejavu/DejaVuSerif-BoldOblique.ttf +filename.DejaVu_Sans=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf +filename.DejaVu_Sans_Bold=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf +filename.DejaVu_Sans_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf +filename.DejaVu_Sans_Bold_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf + +filename.DejaVu_Sans_Mono=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf +filename.DejaVu_Sans_Mono_Bold=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf +filename.DejaVu_Sans_Mono_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf +filename.DejaVu_Sans_Mono_Bold_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf + +filename.DejaVu_Serif=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf +filename.DejaVu_Serif_Bold=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf +filename.DejaVu_Serif_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Oblique.ttf +filename.DejaVu_Serif_Bold_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldOblique.ttf filename.-misc-ar_pl_shanheisun_uni-medium-r-normal--*-*-*-*-p-*-iso10646-1=/usr/share/fonts/truetype/arphic/uming.ttf filename.-misc-baekmuk_batang-medium-r-normal--*-%d-*-*-c-*-*-*=/usr/share/fonts/truetype/baekmuk/batang.ttf @@ -212,7 +212,7 @@ filename.LuxiSerif-BoldOblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxirbi.ttf # AWT X11 font paths -awtfontpath.latin-1=/usr/lib/X11/fonts/Type1 +awtfontpath.latin-1=/usr/share/fonts/X11/Type1 awtfontpath.chinese-gb18030=/usr/share/fonts/truetype/arphic awtfontpath.japanese-x0208=/usr/share/fonts/truetype/ipamona/ awtfontpath.korean=/usr/share/fonts/truetype/baekmuk
fontconfig.bfc
Description: Binary data