pkgsrc-Users archive


Fontconfig issue


I'm hoping someone can help me!

I recently upgraded my laptop (i386) to -current (1/17/10) and then
recompiled all my packages with 2009Q4 pkgsrc branch.  (Due to other
changes, /usr is only from the -current.  Nothing of the "old" /usr
was left from before the "upgrade" to the most recent -current.)

After waiting for it to all recompile I tried using it and discovered
that I have a major font issue that I've not had before.  For example,
when running emacs, it generates the following font related errors:


(emacs:17321): Pango-WARNING **: failed to choose a font, expect ugly output. 
The main window for emacs work, but the menu text is a series of square
boxes where characters are supposed to be.

I've recompiled and resintalled pango and x11-links (after seeing that I
still had a few X11R6 instead of X11R7 values in some environment variables)
but that hasn't helped.

ctwm works just fine and all fonts are readable, but others, like icewm and
kde are unusable because all fonts render square boxes for characters or
no characters.

Can anyone give me a hint as to where things may have gone wrong.  I'm hoping
I won't have to recompile *everything* again.  *sigh*


(I no longer have a /usr/X11R6 tree so all stuff is using /usr/X11R7. twm and
other "native" X11 stuff appears to be working just fine.  The file
/usr/X11R7/lib/pkgconfig/fontconfig.pc looks correct when comparing it to
a 5.0.1/i386 installation that is working correctly with emacs, kde .. also
on the 2009Q4 pkgsrc branch.)

Phil Nelson (phil at
NetBSD:  Coda:

Home | Main Index | Thread Index | Old Index