[Pkg-fonts-devel] Fonts from package misbehave in exported PDF

Fabian Greffrath fabian at greffrath.com
Tue Aug 28 07:19:41 UTC 2012

Hi Norbert,

thanks for your excellent analysis!

Am 28.08.2012 08:48, schrieb Norbert Preining:
> - the characters outside the iso range are unencoded chars in the afm,
>   so I guess that is the problem why libreoffice recreates them in a
>   strange way, or better the export to pdf is broken

So this is a bug in libreoffice?

> Solutions:
> - add
> 	usr/share/texmf/fonts/opentype/public/tex-gyre/
>    to the fontconfig path in /etc/fonts/local.conf
>    run fc-cache -f as root

I find this strange, as the fontconfig package trigger already 
declares interest in this directory, but fontconfig itself does not 
include it in its search path?

$ cat /var/lib/dpkg/info/fontconfig.triggers
interest /usr/share/fonts
interest /usr/share/ghostscript/fonts
interest /usr/share/texmf/fonts

$ grep -r share /etc/fonts/
/etc/fonts/fonts.conf:	<dir>/usr/share/fonts</dir>
/etc/fonts/fonts.conf:	<dir>/usr/X11R6/lib/X11/fonts</dir> 

Is this a bug in fontconfig?

  - Fabian

More information about the Pkg-fonts-devel mailing list