[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] testing for a font in a macro
From: |
Peter Schaffter |
Subject: |
Re: [Groff] testing for a font in a macro |
Date: |
Thu, 22 Sep 2005 12:54:34 -0400 |
User-agent: |
Mutt/1.5.4i |
On Thu, Sep 22, 2005, Jason St Armand wrote:
> Hi,
>
> is there a way to check for the existance of a font before setting it
> ? I am trying to set the font to CR which works for postscript
> output, but when I preview with -T ascii I get a warning message about
> CR not being available.
>
> I am happy to ignore the error, but ideally would like to substitute R
> if CR is not available.
Recent versions of groff include
.if F
which tests for the existence of a font. Is that what you're
looking for?
--
Peter Schaffter
Author of _The Schumann Proof_ (RendezVous Press, Canada)
http://faustus.dyn.ca