Andreas Enge <[email protected]> skribis:

> In the xorg branch, I just added the package xpdf.

Excellent!  Even more practical than xeyes.  :-)

> As a caveat: When displaying a pdf file obtained with latex, fonts are
> shown with a very bad quality, and there are error messages such as:
>
> Config Error: No paper information available - using defaults
> Config Error: No display font for 'Courier'

It would be good to see where it’s looking for fonts.  It could be that
FreeType allows a font search path to be specified via an environment
variable or so.

Nixpkgs does this:

      substituteInPlace $out/etc/xpdfrc \\
        --replace /usr/local/share/ghostscript/fonts ${base14Fonts} \\
        --replace '#fontFile' fontFile

Perhaps we could patch xpdfrc to point to GhostScript’s font directory?

Thanks!

Ludo’.

Reply via email to