pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Fontconfig confusion

I was playing around with fontconfig settings while trying out the
results with editors/vim (with gtk2 gui). I came to the confusing
conclusion that the fontconfig package installs its config files in
/usr/pkg/etc/fontconfig, but the files that are actually read are in
/etc/fonts. And what's worse, when copying the files from the former to
the latter location, it doesn't even understand everything that's in

Some more pondering later it dawned on me that the base system (native
X11) also has a fontconfig! And indeed, vim (self-compiled from its cvs
repository) was linked (indirectly) with 2 fontconfigs and 2 freetypes.
That cannot be good...

Then I thought "of course, in pkgsrc they would prevent such a thing"
and I built vim-gtk2 from pkgsrc (still 2007-Q4). However, it showed the
same problem!

        -lfreetype.6 => /usr/pkg/lib/
        -lfontconfig.1 => /usr/pkg/lib/
        -lfreetype.9 => /usr/X11R6/lib/
        -lfontconfig.1 => /usr/X11R6/lib/

this looks like a mess... will Vim use the one set of libraries for one
thing and the other for some random other thing?

___ Olaf 'Rhialto' Seibert      -- You author it, and I'll reader it.
\X/ rhialto/at/        -- Cetero censeo "authored" delendum esse.

Home | Main Index | Thread Index | Old Index