bug-groff
[Top][All Lists]
Advanced

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

Re: grops question


From: Werner LEMBERG
Subject: Re: grops question
Date: Sat, 17 Apr 2010 20:47:09 +0200 (CEST)

> Hi.  I have some additional postscript fonts that I like to have
> available.  Every time I install Linux I have to copy these into the
> /usr/share/.../devps directory and update the download and DESC
> files.
> 
> Is there some way to specify a search path (e.g., an environment
> variable) so that I can keep my personal fonts off in /usr/local/ or
> $HOME somewhere and then grops will find things?  Then it's one less
> thing to remember to do when I update my linux dist or build groff
> from scratch.

>From the troff(1) man page (the grops(1) man page refers to it):

       GROFF_FONT_PATH
              A colon separated list of directories in which to search
              for the devname directory.  troff will scan directories
              given in the -F option before these, and in standard
              directories (/usr/local/share/groff/site-font,
              /usr/local/share/groff/1.20.1/font, /usr/lib/font) after
              these.

[The list of fonts is prepended to the default directories.]

Note, however, that groff reads only a single `download' file (the
first one found in the font path).

> As a separate question, why in the world is Fedora still shipping
> groff 1.18.x?  (Yes, I know is this GNU list, but maybe y'all know
> or can do something about it.)

Sadly, openSuSE does the same...  Reason is that there is some
contributed support (mainly) for Japanese and simplified Chinese in
1.18.1 which I have always refused to add since it is an ad-hoc
solution, and this patch doesn't apply easily to more recent groff
versions.  Various people (including me) tried to improve Unicode
support in groff but failed to do so, mainly due to lack of time.


    Werner




reply via email to

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