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


_______________________________________________
Groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to