Subject: Add /usr/pkg/lib/X11/fonts into suse_fontconfig ?
To: None <tech-pkg@netbsd.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: tech-pkg
Date: 10/21/2005 11:41:28
In order to use installed ms-ttf font package [and AFAIU any font package 
instatted through pkgsrc] in Linux emulation apps i need to add the following 
line into /emul/linux/etc/fonts/fonts.conf:

---cut---
        <dir>/usr/pkg/lib/X11/fonts</dir>
---cut---

Two obvious cases when i need it is Acroread7 or OpenOffice2-bin packages. Of 
course sometimes i forget to add this fix and it takes some time for me to 
recall what and where should be added.

IMHO it's a good idea to automatically add default pkgsrc fonts path into 
suse_fontconfig so for example ms-ttf fonts are enabled by default in gtk2 
based Linux packages without any additional hacks, what do you think?

// wbr