NetBSD-Bugs archive

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

xsrc/39961: add-on fonts not found



>Number:         39961
>Category:       xsrc
>Synopsis:       add-on pkgsrc fonts not found by, say, firefox
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 19 22:50:00 +0000 2008
>Originator:     Steven M. Bellovin
>Release:        NetBSD 5.99.01
>Organization:
>Environment:
        
        
System: NetBSD gg1.cs.columbia.edu 5.99.01 NetBSD 5.99.01 (GG1) #0: Tue Nov 11 
23:50:53 EST 2008 
smb%gg1.cs.columbia.edu@localhost:/usr/BUILD/obj/sys/arch/i386/compile/GG1 i386
Architecture: i386
Machine: i386
>Description:
        If you're running a -current system with native xorg and you
        add fonts via pkgsrc, they are not seen by applications such
        as firefox.  The directories to be searched are listed in
        /etc/fonts/fonts.conf, which by default specifies
                 <dir>/usr/X11R7/lib/X11/fonts</dir>
                 <dir>/usr/share/fonts</dir>
                 <dir>~/.fonts</dir>
        The second line is clearly wrong, since there is no
        /usr/share/fonts on (standard) NetBSD systems.  However, there
        is another problem: /usr/pkg/lib/X11/fonts is not listed,
        and it should be, to catch add-on fonts from pkgsrc.

        I feel that this is the cleanest solution -- NetBSD should support
        pkgsrc properly out of the box.  An intermediate solution is to
        create a default /etc/fonts/local.conf file that lists
        /usr/pkg/lib/X11/fonts, with comments indicating that it is (a) an
        example, but (b) necessary to support pkgsrc fonts.
>How-To-Repeat:
        Install -current (or, I assume, 5.0beta), with native xorg.
        Add fonts via pkgsrc.  Watch them not be found...
>Fix:
        The simplest fix is, as noted, to edit /etc/fonts/fonts.conf
        and run 'fc-cache' (possibly with -f; I'm not sure if that's
        needed or not).  Alternatively, create /etc/fonts/local.conf.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index