Subject: pkg/24941: font display in gnome is completely broken
To: None <gnats-bugs@gnats.NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: pkgsrc-bugs
Date: 03/28/2004 01:07:08
>Number:         24941
>Category:       pkg
>Synopsis:       font display in gnome is completely broken
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 28 00:08:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Martin Husemann
>Release:        NetBSD 1.6ZK
>Organization:
>Environment:
System: NetBSD night-porter.duskware.de 1.6ZK NetBSD 1.6ZK (PORTER) #0: Wed Mar 24 11:08:18 CET 2004 martin@night-porter.duskware.de:/usr/src/sys/arch/i386/compile/PORTER i386
Architecture: i386
Machine: i386
>Description:

I had some slightly older gnome pkgs and XFree 4.4 on my system. During
a "make update" I had to recently rebuild most of them. I then ended up
with an unusable system (see below) and suspected old relicts and 
inconsistencies - so I nuked ~everything (especially any fontconfig, freetype
or similar pkgs) and rebuild again.

I ended up with gnome-2.4.2nb4 and this font related pkgs:

Xft2-2.1.2nb1       Library for configuring and customizing font access
freetype2-2.1.5     Font rendering engine and library API
fontconfig-2.2.1nb3 Library for configuring and customizing font access
freetype-lib-1.3.1nb1 TrueType font rendering engine and library API
ttmkfdir-0          Tool that creates a fonts.scale file
mkfontscale-20020524nb2 Create an index of scalable font files for X

(plus some fonts)

The resulting gnome stuff is completely unusable, so I thought I'd give
antialiased fonts a try. I followed the instructions on www.netbsd.org to get
antialiased fonts. This did not make the result better.

I checked if the Xserver has the right dimensions available (not sure if this
TFT supports DDC) - it has [I put it in /etc/XF86Config and verified with
xdpyinfo].

So what is wrong?

 1) I have three versions of freetype installed - although I started only
    with the xsrc one. This can't be right.
 2) Fonts look realy bad or appear with the wrong size.
     - xconsole (default font, whatever that is) displays *very* large, and
       very ugly characters. *Much* larger than it used to do before the
       updtate (like twice the height)
     - xterm looks reasonable and similar to what it was before
     - rxvt (default font) looks reasonable, but like 15% bigger than before
     - gnome-terminal (default font) looks *far* too big, like 30%-40%
       bigger than before. Selecting smaller fonts gives unreadable characters
     - Desktop Icon names appear far bigger than they used to do
     - Somehow my "mozilla" got replaced by "mozilla-gtk2" (fine with me,
       but I don't see why I was forced to install mozilla at all) and
       every page displayed by it looks slightly too big (compared to the
       state I had last week)

On my notebook I still have a slightly older installation, there is no
pkgsrc freetype there at all and everything is fine.

>How-To-Repeat:

Install a system from scratch, add XFree 4.4 from src/x11 and install
the gnome meta pkg.

>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted: