Re: Poor Font Rendering

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue, 19 Jul 2005 19:23:53 -0600 (MDT)

Hi Daryl,

Thanks for your comments on PyNGL.

I don't know how the plots on the PyNGL website were created, but the
ones on the NCL website were created using the free ImageMagick
"convert" tool.

We first run the NCL script and have it produce a PostScript file, and
then we run "convert" on it as follows:

  convert -trim file.png

The "file.png" file is the one that ends up on the web. The "-trim"
option tries to trim out as much white space as possible. Sometimes
it cuts it a little too close. You don't need to use this option.

I use this method for creating nice PowerPoint images as well, except
that I convert the images from PS to GIF using:

   convert -density 300 -trim file.gif

As for why the images aren't as of good quality when you run them
on your machine: which example are you running? Is ths true for
all PyNGL examples? Which output format are you using?


On Tue, 19 Jul 2005, Daryl Herzmann wrote:

> Greetings,
> I am very excited to be using pyngl and am very impressed with the quality of
> documentation/examples on the website. Great job! Hopefully my question is
> not already addressed on those pages :)
> I am curious if there is some trick to get clean looking fonts on my PNG
> output images generated from PyNGL. Online, I notice a major difference with
> the font quality on the NCL examples and PyNGL examples. For example,
> so perhaps there is a fundamental limitation at work... Another curious
> thing is the example on the PyNGL homepage. The online example looks of
> decent quality, but when I run the example on my local machine, I get typical
> quality. Do I need to be running MacOS-X to be getting pretty things? :)
> thanks,
> daryl
> --
> /**
> * Daryl Herzmann (
> * Program Assistant -- Iowa Environmental Mesonet
> *
> */
> _______________________________________________
> pyngl-talk mailing list
pyngl-talk mailing list
Received on Tue Jul 19 2005 - 19:23:53 MDT

This archive was generated by hypermail 2.2.0 : Thu Jan 19 2006 - 21:31:53 MST