Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479538 - app-office/libreoffice fails to find fonts with no associated ASCII font metrics (.afm) files (e.g. media-fonts/freefonts)
Summary: app-office/libreoffice fails to find fonts with no associated ASCII font metr...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-02 16:57 UTC by Michelangelo Scopelliti
Modified: 2013-12-27 20:41 UTC (History)
0 users

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


Attachments
freefonts-0.10-r3:20130802-165200.log.gz (freefonts-0.10-r3:20130802-165200.log.gz,4.44 KB, application/x-gzip)
2013-08-02 16:58 UTC, Michelangelo Scopelliti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michelangelo Scopelliti 2013-08-02 16:57:19 UTC
After installing freefonts (and updating the font cache) the installed fonts are not seen by libreoffice, unless corresponding afm files are provided (i.e. type1afm * in the appropriate directory). I perform this operation manually, and the onnly application affected seems to be (as far as I know) libreoffice.
Could it be possible to add the generation of afm files in the ebuild?

I've seen some weirdness in the freefonts build log, but I don't think it's related. A build log will follow.

Reproducible: Always




emerge --info

Portage 2.2.0_alpha191 (default/linux/amd64/13.0, gcc-4.8.1, glibc-2.17, 3.10.4 x86_64)
=================================================================
System uname: Linux-3.10.4-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.2
KiB Mem:     7655372 total,   5772620 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Fri, 02 Aug 2013 15:45:01 +0000
ld ld di GNU (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.8.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo science kernelpanic
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs candy clean-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext SECURITY_HAZARD X a52 aac aalib acl adolc aio alisp alsa amd64 amr anacron ao apng audiofile bazaar berkdb bidi bitmap bittorrent blas bs2b bufferevents bzip2 cairo caps cblas-external cdda cdio chm clang cli compact conntrack consolekit context contrast contrib corefonts cracklib crypt cryptsetup cups curl cvs cxx dbus demosaic detex device-mapper devil dga dhcp dhcp-tools djbfft djvu dos dri dts dv dvb dvd dvi2tty dvipdfm ebook ecdsa eigen emf encode epspdf excel exif extensions extra faac facedetect fdformat fdk ffmpeg fftw firmware fits flac fluidsynth fontconfig fontforge fortran fpx frei0r ftp gbm gcj gd gdbm geoip gif gimp git glamor glut gmp gold gpg gphoto2 gpm graphics graphicsmagick graphite graphviz gsl gsm gstreamer gtk gtk2 gtkstyle gts gudev hdri highlight hpn humanities hwdb iconv icu id3tag idn imagemagick imaging inkjar inotify ios ipv6 ipython iso ithreads jadetex jbig jemalloc jpeg jpeg2k kdrive keymap kmod kpathsea ladspa lame lapack lasi latex lcms ldns lensfun libass libcaca libkms libnotify libproxy libsamplerate libsoxr libv4l llvm lqr lto lua luatex lynxkeymap lzma lzo mad mathml matplotlib mdev mem-scramble mercurial metalink metapost metis metric minizip mjpeg mmap mms mmx mmxext mng modplug modules mount mp3 mp3rtp mpeg mpi mpi-threads mudflap multicall multilib multitarget musepack music musicbrainz mysql mysqli nat-pmp natspec ncat ncurses ndiff netlink network network-cron networking newnet nlopt nls normalize nping nptl nsplugin numpy nuv ocr offensive offlinehelp ofx ogg openal openexr opengl openmp openvg opus osmesa pam pango passwdqc pch pcre pdf pdo pgf pkcs11 plotutils plugins png pnm policykit postgres postproc postscript pstricks publishers pvr pyglet python python3 q16 q32 q64 q8 qt3support quicktime quvi rar raw readline reencrypt replaygain rle romio rpc rtmp scale0tilt scanner schroedinger science script sdl secure-delete secure-messaging session smartcard smi smp sndfile sox sparse speex spell spoof-source sql sqlite sse sse2 sse3 ssl startup-notification subversion suid svg syslog system-cairo system-jpeg system-sqlite t1lib taglib telepathy tftp tga theora thin-splines threads tiff timezone tls transparent-proxy truetype tty-helpers twolame type3 udev udisks umfpack unicode urandom usb v4l vaapi vcd vdpau video vim vim-syntax vorbis vpx wavpack wayland web webdav webgl webp wmf wxwidgets x264 xa xattr xcb xcomposite xdg xetex xft xkb xlib-xcb xml xmlrpc xmp xorg xpm xscreensaver xv xvid xvmc yuv4mpeg zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="gnutls" ELIBC="glibc" FOO2ZJS_DEVICES="sa300" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-minimizer" LINGUAS="it en fr" OFFICE_IMPLEMENTATION="libreoffice" OPENMPI_FABRICS="knem" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64 armeb" RUBY_TARGETS="ruby20" SANE_BACKENDS="xerox_mfp" USERLAND="GNU" VIDEO_CARDS="r600 radeon v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Michelangelo Scopelliti 2013-08-02 16:58:43 UTC
Created attachment 354950 [details]
freefonts-0.10-r3:20130802-165200.log.gz
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2013-08-29 15:27:49 UTC
Is that supposed to work in libreoffice (eg is this bug on gentoo only or is it broken in libreoffice everywhere?)
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2013-12-27 20:41:26 UTC
(In reply to Tomáš Chvátal from comment #2)
> Is that supposed to work in libreoffice (eg is this bug on gentoo only or is
> it broken in libreoffice everywhere?)

No reply