[fptex] Resizing

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Tue, 23 Apr 2002 09:38:12 +0100 (BST)


On Tue, 23 Apr 2002, Bob Howlett wrote:

> I guess it is necessary to make certain that dvips uses type 1 fonts
> rather than pk? For this it may be necessary to modify config.ps.

No, as I understand it.  This way dvips magnifies the dvi file, then
renders it, so it will use (or create) pk files at the final dpi.  (Or at
least, it used too: I haven't done this for a long while.)

As far as I am aware convert uses gs to convert ps to png, and you can do
that directly.  If you magnify at that stage (which you can) then it is
best to use type 1 fonts.

>
> Bob Howlett
>
> ----
>
> ripley@stats.ox.ac.uk wrote:
> >
> > On Mon, 22 Apr 2002, John Clarke wrote:
> >
> > > I抦 using Latex to make single equations. First I have the equation text in
> > > TEX format, convert it to DVI and then finally to PNG with Imagemagick.
> >
> > Really?  ImageMagick's convert does not claim to read DVI.  Are you
> > perhaps going via postscript in there?  If not, I suggest you do as dvips
> > can resize for you:  use the -x or -y flags.  With latex, -x 1500 should
> > do what you want.  You may want to set the offset and dimensions too,
> > which dvips can also do.
> >
> > > My problem is that the size is not big enough. I want to be able to resize
> > > the image to about 150% before it gets rasterized so that the quality is
> > > acceptable. Imagemagick can resize, but it seems to do it after the image is
> > > rasterizes which ends up making the image too pixelized.
> >
> > --
> > Brian D. Ripley,                  ripley@stats.ox.ac.uk
> > Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> > University of Oxford,             Tel:  +44 1865 272861 (self)
> > 1 South Parks Road,                     +44 1865 272860 (secr)
> > Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> >
> > _______________________________________________
> > fptex mailing list
> > fptex@tug.org
> > http://tug.org/mailman/listinfo/fptex
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595