[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] Re: patch for configure.ac and aclocal.m4
From: |
Werner LEMBERG |
Subject: |
[Groff] Re: patch for configure.ac and aclocal.m4 |
Date: |
Sat, 22 Feb 2003 14:22:11 +0100 (CET) |
> > +dnl check to see whether pnmtops can handle the -nosetpage option
> > +dnl
> > +AC_DEFUN(PNMTOPS_NOSETPAGE,
> > +[AC_MSG_CHECKING([whether pnmtops can handle the -nosetpage option])
> > +cat <<EOF | pstopnm > conftest.pnm 2>/dev/null
> > +%!PS-Adobe-3.0
> > +/Times-Bold findfont 16 scalefont setfont
Any reason for the above line? Two lines later the font is changed,
but nothing is printed with /Times-Bold.
> > +/inch {72 mul} def
> > +/Times-Roman findfont 10 scalefont setfont
> > +4.5 inch 0.812500 1 add inch moveto ( testing ) show
> > +showpage
> > +EOF
>
> If there's no particular reason why the test image has to be
> generated from PostScript then pbmmake or pbmtext could be used
> instead in the pipeline on the line below. See `Image Generators'
> in netpbm(1).
The less utility programs are used, the better. So I prefer the
solution with a temporary file.
Werner