Current-Users archive

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

Re: fonts with native Xorg



On Wed, 19 Nov 2008 12:36:23 -0500 (EST)
"Jared D. McNeill" <jmcneill%invisible.ca@localhost> wrote:

> On Wed, 19 Nov 2008, Steven M. Bellovin wrote:
> > The problem turned out to be /etc/fonts/fonts.conf -- it
> > listed /usr/share/fonts (a directory I don't think NetBSD has).
> > Changing it to /usr/pkg/lib/X11/fonts and rerunning 'fc-cache -f'
> > restored things to normal.
> >
> > Obviously, /usr/share/fonts is a bug.  Should my fix be the default?
> > Should I send-pr?  (My copy is from a system I built on 11 Nov.)
> 
> It should be picking up fonts frolm /usr/X11R7/lib/X11/fonts anyway.
> 
I believe the issue is pkgsrc fonts.  I have the following packages
installed:

mozilla-fonts-1.0nb3 Optimized fonts for Netscape/Mozilla
ms-ttf-20020306nb5  TrueType fonts from Microsoft
libXgFonts-1.0nb2   These are the UNICODE fonts for use with 9term and sam
ghostscript-fonts-8.11nb2 Postscript fonts for Aladdin Ghostscript
mplayer-fonts-20030714nb1 Fonts for mplayer and gmplayer
dejavu-ttf-2.26     DejaVu family of TrueType fonts

I can delete them one by one to see if I can recreate the problem.
More generally, though, I think that our base system needs to support
our own add-on fonts.  I'm perfectly happy with other ways to
handle them, but I do think something is needed that is as automatic
as possible for pkgsrc users.  (For example -- perhaps there should be
a MESSAGE in pkgsrc/fonts/* saying that you need to update
/etc/fonts/local.conf or some such.)


                --Steve Bellovin, http://www.cs.columbia.edu/~smb


Home | Main Index | Thread Index | Old Index