Subject: pkg/25624: font rendering broken
To: None <>
From: Martin Husemann <>
List: pkgsrc-bugs
Date: 05/18/2004 14:20:18
>Number:         25624
>Category:       pkg
>Synopsis:       font rendering broken
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 18 12:21:00 UTC 2004
>Originator:     Martin Husemann
>Release:        NetBSD 2.0E
System: NetBSD 2.0E NetBSD 2.0E (REVEL) #1: Wed May 12 15:03:23 CEST 2004 i386
Architecture: i386
Machine: i386

I removed all my pkgs and most (obscure) PREFER_xxx settings from my 
/etc/mk.conf, leaving only

# freetype2 bytecode interpreter

in it. I then rebuild gnome and all the pkgs I used to have around. After
that, my font rendering became awfull. Where awfull menans unbearable bad.
Unreadable. Glyphs are at wrong positions in some fonts, or don't fit their
bounding box. Smoothing looks *very* bad.

Checking with gnome-font-properties I noticed that my resolution (125x125 dpi,
which is (a) correct and (b) what xdpyinfo reports for the root window) was
not picked up correctly - gnome used 95 dpi. Clicking "Details" I see that it
correctly noticed I'm using a LCD (notebook) so picked sub pixel positioning.
In that dialogue, the example displays are fine. But an ordinary 
gnome-terminal is unusable.

I have no ideas what goes wrong. Here is a list of the pkgs involved, I don't
know which ones are font related and what base system or X libraries are 
involved beyound this, but I did only rebuild pkgs, base and X are unchanged.

digest-20021220     Message digest wrapper utility
standalone-tcsh-6.12.00nb1 Standalone version of the Extended C-shell
pkg_chk-1.48        Check installed package versions against pkgsrc
perl-5.8.4          Practical Extraction and Report Language
pkglint-3.76        Verifier for NetBSD packages and complete pkgsrc tree
ghostscript-fonts-6.0 Postscript fonts for Aladdin Ghostscript
libtool-base-1.5.6  Generic shared library support script (the script itself)
gmake-3.80nb3       GNU version of 'make' utility
x11-links-0.23      Shadow tree of links to ${X11BASE} headers and libraries
t1lib-5.0.2nb1      Library for generating bitmaps from Adobe Type 1 fonts
freetype2-2.1.8     Font rendering engine and library API
xpkgwedge-1.10      Allows X11 pkgs to be built and used outside of ${X11BASE}
openmotif-2.1.30nb2 The Open Group Motif toolkit for the X Window System
xpdf-3.00           Display tool for PDF files
unzip-5.50nb2       List, test and extract compressed files in a ZIP archive
zip-2.3nb2          Create/update ZIP files compatible with pkzip
gnupg-1.2.4nb1      Privacy Guard, public-Key encryption and digital signatures
cdparanoia-  CDDA reading utility with extra data verification features
pkgconfig-0.15.0    System for managing library compile/link flags
glib2-2.4.1         Some useful routines for C programming
m4-1.4nb1           GNU version of Unix m4 macro-processor
bison-1.875nb1      GNU yacc(1) replacement
libIDL-0.8.3nb1     CORBA Interface Definition Language parser
atk-1.6.1           Set of interfaces for accessibility
expat-1.95.7        XML parser library written in C
fontconfig-2.2.2    Library for configuring and customizing font access
render-0.8          Headers for X11 render extension
Xrender-0.8.3nb1    Client library for the X Rendering Extension protocol
Xft2-2.1.2nb1       Library for configuring and customizing font access
pango-1.4.0         Library for layout and rendering of text
png-1.2.5nb5        Library for manipulating PNG images
jpeg-6bnb1          IJG's jpeg compression utilities
tiff-3.6.1nb2       Library and tools for reading and writing TIFF data files
fixesext-2.0        X Fixes extension headers and specification
Xfixes-2.0.0        X Fixes extension of X RandR
xcursor-1.1.1nb1    Client-side cursor loading library for X
randrext-1.0        X RandR extension (Headers and documentation files)
Xrandr-1.0.2        X RandR extension (Library)
xdg-dirs-1.1        Shared XDG directories
gtk2+-2.4.1         The GIMP Toolkit - libraries for building X11 user interfaces
autoconf213-2.13    Generates automatic source code configuration scripts (old version)
mozilla-gtk2-1.6nb3 Full featured gecko-based browser built with GTK2
xmlcatmgr-2.1       XML and SGML catalog manager
docbook-xml-4.2nb6  XML DTD designed for computer documentation
libxml2-2.6.9       XML parser library from the GNOME project
libxslt-1.1.6       XSLT parser library from the GNOME project
p5-XML-Parser-2.31nb1 Perl extension interface to James Clark's XML parser, expat
intltool-0.30       Toolbox for internationalisation
scrollkeeper-0.3.14nb3 Open Document Cataloging Project
iso8879-1986nb3     Character entity sets from ISO 8879:1986 (SGML)
docbook-4.2nb4      SGML DTD designed for computer documentation
libaudiofile-0.2.6  Sound library for SGI audio file
esound-0.2.34       The Enlightened sound daemon
shared-mime-info-0.14 Core database of common types
fam-2.7.0nb1        File Alteration Monitor
gnome-dirs-1.5      Shared GTK/GNOME (v1 and v2) directories
gnome2-dirs-1.5     Shared GTK/GNOME (v2) directories
gnome-mime-data-2.4.1nb1 MIME and Application database for GNOME2
popt-1.7nb4         Command line option parsing library
ORBit2-2.10.2       High-performance CORBA ORB with C language support
GConf2-2.6.1        Configuration database system used by GNOME (v2)
libbonobo-2.6.0     GNOME2 Object activation framework library
liblzo-1.08         Portable lossless data compression library written in ANSI C
libtasn1-0.2.7      ASN.1 structure parser library
libgpg-error-0.6nb1 Definitions of common error values for all GnuPG components
libgcrypt-1.1.92    GNU cryptographic library
opencdk-0.5.4       Open Crypto Development Kit
gnutls-1.0.8        GNU Transport Layer Security library
gnome-vfs2-  GNOME Virtual File System (v2)
libgnome-    Core GNOME2 library (non-graphical)
libart2-2.3.16      High-performance 2D graphics library
libgnomecanvas- GNOME Canvas library
startup-notification-0.6 X11 application startup notification library
gail-1.6.1          GNOME Accessibility Implementation Library
hicolor-icon-theme-0.4 Standard icon theme called hicolor
libbonoboui-2.6.1   GNOME2 Object activation framework library (graphical version)
libexif-0.5.12nb1   EXIF file library
MesaLib-6.0.1       Graphics library similar to SGI's OpenGL
glu-6.0.1           GLU polygon tessellation facility for Mesa
glut-6.0.1          GLUT Graphics library similar to SGI's OpenGL
gle-3.1.0           GL subroutines for drawing tubing and extrusions
xscreensaver-4.16   Screen saver and locker for the X window system
gnome-keyring-0.2.1 GNOME password and secret manager
gnome2-pixmaps-2.6.1 Pixmaps for gnome-core
GConf2-ui-2.6.1     Configuration database system used by GNOME (v2)
readline-4.3pl5     GNU library that can recall and edit previous input
guile-1.6.4         GNU's Ubiquitous Intelligent Language for Extension
libgnomeui-  Core GNOME2 graphical libraries
gtk2-engines-2.2.0nb7 Theme engines for GTK+ version 2
aalib-x11- ASCII Art library with X11 support
nasm-0.98.38        General-purpose x86 assembler
SDL-1.2.7           Simple DirectMedia Layer, a cross-platform multimedia library
swfdec-0.2.1nb7     Library for rendering Flash(R) animations and games
swfdec-gtk2-0.2.1nb1 Library for rendering Flash(R) animations and games (GTK2 modules)
gtk2-extras-2.4.0   Meta-package for the GIMP Toolkit v2
cdrecord-2.00.3     Software for creating ISO9660 images and writing CDs/CD-RWs
eel2-2.6.1          Eazel Extensions Library for GNOME2
ttmkfdir2-20021109nb1 Tool that creates a fonts.scale file
vera-ttf-1.10nb2    Bitstream Vera TrueType fonts
rxvt-2.7.10nb3      Low memory usage xterm replacement that supports color
cd-discid-0.9       Read CD to obtain CDDB discid information
id3-0.12            ID3 v1.1 tag editor
id3lib-3.8.3        Library for manipulating ID3v1 and ID3v2 tags
id3v2-0.1.10        Command line editor for id3v2 tags
wget-1.9.1nb1       Retrieve files from the 'net via HTTP and FTP
abcde-2.1.19nb1     Command-line utility to rip and encode an audio CD
gdbm-1.8.3          The GNU database manager
xemacs-21.5.17      *BETA* XEmacs text editor version 21.5.17
xemacs-zenicb-19981202nb2 ICB client for Emacs
python23-2.3.3nb3   Interpreted, interactive, object-oriented programming language
libxml-1.8.17nb1    XML parser, mainly used by the GNOME project
libungif-    Tools and library routines for working with GIF images
libglade2-2.3.6nb1  Runtime interpreter for GLADE GUI files (v2)
gnome-icon-theme-1.2.1nb1 Theme consisting of a set of icons for GNOME
libgnomeprint-2.6.1 Library for the GNOME2 Printing Architecture
libgnomeprintui-2.6.1 Graphical library for the GNOME2 Printing Architecture
eog-2.6.1           Eye of GNOME: an image viewing and cataloging program
epiphany-1.2.5      The web browser for the GNOME Desktop
gtar-base-1.13.25nb2 The GNU tape archiver with remote magnetic tape support
file-roller-2.6.1   Front-end to archiving programs like tar and zip
gcalctool-4.3.51    Desktop calculator for GNOME
gconf-editor-2.6.1  Editor for the GConf configuration system
aspell-0.50.5       Spell checker with good multi-language support
gtksourceview-1.0.1 Text widget that extends GTK2's GtkTextView widget
gedit-2.6.1         Lightweight GNOME2 text editor
ghostscript-gnu-7.07 GNU Postscript interpreter
ggv-2.6.1           GNOME2 frontend for GhostScript
gnome-speech-0.3.2  GNOME 2 text-to-speech API
at-spi-1.4.2        Assistive Technology Service Provider Interface
dasher-3.2.10       Easy typing without using keyboard
libwnck-2.6.1       Library to write pagers and tasklists
db4-4.2.52nb1       Berkeley DB version 4 from Sleepycat Software
openldap-2.1.30     Lightweight directory access protocol server and client package
libsoup-devel-2.1.8 HTTP library implementation in C (dev. Version)
evolution-data-server-0.0.90 Evolution data server
libgsf-1.9.0        GNOME2 structured file library
libcroco-0.5.1      Toolkit to parse and manipulate CSS (Cascading Style Sheets)
librsvg2-2.6.5      SVG library for GNOME2
gnome-desktop-2.6.1 Common GNOME2 desktop files and libgnome-desktop library
nautilus-2.6.1nb1   Nautilus file manager for GNOME2
metacity-2.8.1      GNOME-compliant window manager
libxklavier-1.02    High-level API for the X Keyboard Extension (XKB)
gnome2-control-center-2.6.1 GNOME2 configuration utility
gnome-panel-2.6.1   GNOME2 panel application
gnome-session-2.6.1 GNOME2 session management utilities
libzvt-2.0.1nb5     Virtual Terminal Widget Library for GNOME2
vte-0.11.11         Terminal widget with improved accessibility and I18N support
gnome2-terminal-2.6.1nb1 Xterm like terminal program for GNOME 2
libgtkhtml-2.6.1    Lightweight HTML rendering GTK2 widget
yelp-2.6.1          Help browser for GNOME 2 desktop
gnome-base-2.6.1    Meta-package for basic components of the GNOME desktop
gnome-mag-0.10.11   GNOME screen magnifier
gnopernicus-0.8.4   Collection of accessibility apps for GNOME 2
libgtop2-2.6.0nb1   Library to retrieve system information, used in GNOME2
gnome-accessibility-2.6.1 Meta-package for accessibility applications of the GNOME desktop
gnome-applets-2.6.1 GNOME2 panel applets
librsvg2-gtk2-2.6.5 SVG library for GNOME2 (GTK2 modules)
gnome-games-2.6.1   GNOME2 games collection
gstreamer-0.8.1     GNOME multimedia streamer library
gst-plugins-0.8.1   GStreamer - base plugins
gnome-media-2.6.2   Set of audio/multimedia applications for GNOME2
gnome-netstatus-2.6.1 Network status applet for the GNOME panel
gnome-themes-2.6.1  Collection of themes and icons for GNOME 2
gnome2-user-docs-2.6.0 The GNOME 2 users guide
autoconf-2.59       Generates automatic source code configuration scripts
gnome2-system-monitor-2.6.0 GNOME 2 system monitor program
gnome-utils-2.6.1   Set of useful GNOME2 utilities and applications
gpdf-0.131nb1       GNOME 2 version of xpdf
gucharmap-1.4.1     Unicode/ISO10646 character map and font viewer
nautilus-cd-burner-2.6.1 CD burner view for Nautilus
gst-plugins-esound-0.8.1 GStreamer - esound plugin
libogg-1.1          Ogg project codecs library
flac-1.1.0nb1       Free lossless audio codec
gst-plugins-flac-0.8.1 GStreamer - flac plugin
gst-plugins-gnomevfs-0.8.1 GStreamer - gnomevfs plugin
libid3tag-0.15.1b   ID3 tag library, part of MAD (MPEG Audio Decoder)
libmad-0.15.1b      High-quality MPEG audio decoder
gst-plugins-mad-0.8.1 GStreamer - mad plugin
gst-plugins-png-0.8.1 GStreamer - png plugin
gst-plugins-ogg-0.8.1 GStreamer - ogg plugin
libvorbis-1.0.1     Library for the Ogg Vorbis audio encoding format
gst-plugins-vorbis-0.8.1 GStreamer - vorbis plugin
nautilus-media-0.8.0nb1 Multimedia add-ons for Nautilus
zenity-2.6.2        Display GNOME dialogs from the command line
gnome-2.6.1         Meta-package for the GNU Network Object Model Environment
gdm-         Gnome Display Manager - a re-implementation of the xdm program


Don't use X and/or pkgsrc? Avoid gnome?
This will be a serious marketing problem...