Bug#502481: libgtk2.0-0: ignores fontconfig subpixel rendering setting on LCD screen
hhaamu at gmail.com
hhaamu at gmail.com
Thu Oct 16 19:07:11 UTC 2008
Package: libgtk2.0-0
Version: 2.12.11-3
Severity: important
*** Please type your report below this line ***
I prefer my apps to have antialiased fonts but not have subpixel
rendering.
GTK+ ignores any subpixel rendering settings I have set up in fontconfig.
It always turns it on to RGB when run on an LCD screen. The only workaround
I have found is turning antialiasing off, which leaves me with ugly fonts.
Everything works as configured in QT apps. I am not running GNOME or anything
that might affect the configuration.
My fontconfig config:
* fontconfig/subpixel_rendering: Never
* fontconfig/enable_bitmaps: false
* fontconfig/hinting_type: Autohinter
/etc/fonts/local.conf:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
<edit name="rgba" mode="assign"><const>none</const></edit>
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
</fontconfig>
~/.fonts.conf exists, but only defines preferred fonts.
A couple of screenshots:
http://www.saunalahti.fi/atmtjt/fonts-gtk-vs-qt.png
http://www.saunalahti.fi/atmtjt/fonts-gtk-vs-qt-zoom.png (381K)
The LCD I'm having trouble with is my laptop's internal display. I did
not test with a second (external) LCD.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (700, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.24.5 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgtk2.0-0 depends on:
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libc6 2.7-14 GNU C Library: Shared libraries
ii libcairo2 1.6.4-6 The Cairo 2D vector graphics libra
ii libcomerr2 1.41.2-1 common error description library
ii libcups2 1.3.8-1lenny1 Common UNIX Printing System(tm) -
ii libfontconfig1 2.6.0-1 generic font configuration library
ii libglib2.0-0 2.16.6-1 The GLib library of C routines
ii libgnutls26 2.4.1-1 the GNU TLS library - runtime libr
ii libgtk2.0-common 2.12.11-3 Common files for the GTK+ graphica
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG
ii libkrb53 1.6.dfsg.4~beta1-4 MIT Kerberos runtime libraries
ii libpango1.0-0 1.20.5-2 Layout and rendering of internatio
ii libpng12-0 1.2.27-2 PNG library - runtime
ii libtiff4 3.8.2-11 Tag Image File Format (TIFF) libra
ii libx11-6 2:1.1.5-2 X11 client-side library
ii libxcomposite1 1:0.4.0-3 X11 Composite extension library
ii libxcursor1 1:1.1.9-1 X cursor management library
ii libxdamage1 1:1.1.1-4 X11 damaged region extension libra
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii libxi6 2:1.1.3-1 X11 Input extension library
ii libxinerama1 2:1.0.3-2 X11 Xinerama extension library
ii libxrandr2 2:1.2.3-1 X11 RandR extension library
ii libxrender1 1:0.9.4-2 X Rendering Extension client libra
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
Versions of packages libgtk2.0-0 recommends:
ii hicolor-icon-theme 0.10-1 default fallback theme for FreeDes
ii libgtk2.0-bin 2.12.11-3 The programs for the GTK+ graphica
Versions of packages libgtk2.0-0 suggests:
ii librsvg2-common 2.22.2-2 SAX-based renderer library for SVG
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list