bug-groff
[Top][All Lists]
Advanced

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

Re: URW font support


From: Krzysztof Żelechowski
Subject: Re: URW font support
Date: Sat, 28 Dec 2013 18:05:03 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23

<URL: https://build.opensuse.org/package/show/M17N:fonts/ghostscript-fonts-grops >

A device to use Ghostscript fonts with troff output, useful for locale other than ISO Latin1; installs as /usr/share/groff/current/font/gs/devps. It replaces all standard fonts, so you cannot use the default fonts at the same time. Please review (of course, the build should migrate to a makefile if accepted) and consider for inclusion.

Chris

Użytkownik Werner LEMBERG napisał:
I won't follow your suggestion.  Instead, you should generate metric
files for all URW fonts with the attached `Makefile.urw'.  Proceed as
follows:

   0. Unpack groff-1.20.1.tar.gz (or use the current CVS).
   1. In `Makefile.urw', adapt the `afmdir' variable so that it points
      to the right location of the AFM files for the URW fonts.
   2. Copy `Makefile.urw' to `groff-1.20.1/font/devps/generate'.
   3. Change to the `groff-1.20.1/font/devps' directory.
   4. Copy `DESC.in' to `DESC'.
   5. Say

        make -f generate/Makefile.urw

   6. Copy the generated `U*' metric files to a standard location for
      groff font files (e.g. /usr/local/share/groff/1.20.1/font/devps).
      Alternatively, check the troff(1) man page how to use the
      GROFF_FONT_PATH environment variable.
  [7. You can now delete the groff-1.20.1 directory.]

You are done.  To process the above example with, say, the Times
variant of the URW fonts, call

   echo '.PP
   Zażółć gęślą jaźń.' | groff -k -fUT -ms


     Werner




reply via email to

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