Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124238 - fontconfig: xpdf / poppler symbols showing as empty squares because of missing fontconfig alias
Summary: fontconfig: xpdf / poppler symbols showing as empty squares because of missin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-27 02:43 UTC by Florian Mickler
Modified: 2006-04-07 04:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Mickler 2006-02-27 02:43:31 UTC
I had problems displaying pdf's with non-embedded symbols-font recently and found out that putting:
<alias>
    <family>Symbol</family>
    <accept><family>Standard Symbols L</family></accept>
</alias>
into /etc/fonts/local.conf fixes the problem (from poppler-wiki)

imho either the fontconfig-ebuild should install these lines automatically, or fontconfig-distribution should do this in standard fonts.conf
but i do not know we

emerge --info:
11:33:06 dmk@zel:~$ emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14.2 i686)
=================================================================
System uname: 2.6.14.2 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/ "
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr clamav crypt cups curl dillo directfb divx4linux dvd dvdread eds emboss encode esd ethereal exif expat faad fam ffmpeg flac foomaticdb fortran gd gdbm geoip gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile i8x0 idn imagemagick imap imlib ipv6 java jpeg junit lcms ldap libg++ libwww lua mad mhash mikmod mmx mng motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl php png python qt quicktime readline real recode ruby samba scanner sdl slang spamassassin speex spell sqlite sse sse2 ssl svga svgalib tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xanim xine xml xml2 xmms xv xvid zlib video_cards_i810 linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Florian Mickler 2006-02-27 04:17:39 UTC
...
perhaps the font-ebuild (if there even is one)  which installs "Standard Symbols L" should add the lines...
...
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-27 14:18:31 UTC
foser: do you think we can add this in the fontconfig ebuild?
Comment 3 Florian Mickler 2006-02-27 15:14:17 UTC
The point of the fontconfig-devels is that the distro(gentoo in this case) decides which fonts to install and so the distro has to configure fontconfig in the right way.

Comment 4 foser (RETIRED) gentoo-dev 2006-02-27 16:27:46 UTC
Probably, altough I'd like to know how well the URW font (which provides these symbols) maps with the Symbol font.

Could you by the way attach a pdf that exposes this problem?

The real problem -i think- is that other fonts map over the URW symbol ones, while they don't actually provide the symbols, causing the fontconfig fallback mechanism to fail.
Comment 5 Florian Mickler 2006-02-28 02:55:25 UTC
here is a pdf which has squares on the first page
http://i10www.ira.uka.de/info3/skript/berechenbarkeit4.pdf
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2006-03-18 14:08:00 UTC
This is described upstream at:

http://freedesktop.org/wiki/Software_2fpoppler

foser: Please look into adding the necessarry substitutions to our fontconfig config.
Comment 7 foser (RETIRED) gentoo-dev 2006-04-07 04:22:52 UTC
I added both symbol and dingbats aliases to fonts.conf in 2.3.2-r1 .

Thanks for the report.