[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xpdf

From: Ludovic Courtès
Subject: Re: Xpdf
Date: Mon, 01 Apr 2013 00:21:28 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux)

Andreas Enge <address@hidden> 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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]