pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/47289: pkgsrc-2012Q2 fontconfig failed to setup correct search paths
>Number: 47289
>Category: pkg
>Synopsis: pkgsrc-2012Q2 fontconfig failed to setup correct search paths
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 06 23:20:05 +0000 2012
>Originator: Wolfgang Stukenbrock
>Release: NetBSD 5.1.2
>Organization:
Dr. Nagler & Company GmbH
>Environment:
System: NetBSD test-s0 5.1.2 NetBSD 5.1.2 (NSW-WS) #1: Thu Dec 6 12:56:04 CET
2012 wgstuken@test-s0:/usr/src/sys/arch/amd64/compile/NSW-WS amd64
Architecture: x86_64
Machine: amd64
>Description:
For unknown reasons there are only font-paths to /usr/pkg/...
in the file /usr/pkg/etc/fontconfig/fonts.conf.
But this file seems to be examined by (I think it is libpango in)
firefox
to get the correct fonts.
The "default" fonts in /usr/X11R7/lib/X11/fonts are not found.
Additional manual intervention is required to make it usable.
Relevant contents of /usr/pkg/etc/fontconfig/fonts.conf:
<!-- Font directory list -->
<dir>/usr/pkg/lib/X11/fonts</dir>
<dir>/usr/pkg/share/fonts/urw</dir>
<dir>/usr/pkg/share/ghostscript/fonts</dir>
<dir>~/.fonts</dir>
This was not nessesary in the past where firefox will come up without
manual
modification of /usr/pkg/etc/fontconfig/fonts.conf.
Contents on netbsd-4.0 with pkgsrc from 2008:
<!-- Font directory list -->
<dir>/usr/pkg/lib/X11/fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts</dir>
<dir>/usr/pkg/share/ghostscript/fonts</dir>
<dir>~/.fonts</dir>
>How-To-Repeat:
Setup a fresh 5.1.2 and install firefox from pkgsrc-2012Q2.
firefox will dump core during startup after libpango complaining
about not found fonts.
Output in terminal:
(xulrunner-bin:17669): Pango-WARNING **: failed to choose a font, expect ugly
output. engine-type='PangoRenderFc', script='common'
Segmentation fault (core dumped)
>Fix:
Add /usr/X11R7/lib/X11/fonts as path to fonts.conf file during
installation.
(or the standard font path of the underlying system ...)
After adding this path, firefox will start normaly.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index