From: north Date: Tue, 27 Dec 2005 12:11:14 +0000 (+0000) Subject: Mention antialiasing tricks. Fix date stamp. X-Git-Tag: LAST_LIBGRAPH~32^2~6903 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ba18dc3b38a980dd53339618a4f327f17894c54;p=graphviz Mention antialiasing tricks. Fix date stamp. --- diff --git a/doc/FAQ.html b/doc/FAQ.html index 983e8aa14..5a86b9fa2 100644 --- a/doc/FAQ.html +++ b/doc/FAQ.html @@ -1,9 +1,9 @@ -Graphviz FAQ 2004-12-15 +Graphviz FAQ 2005-12-27 -

Graphviz FAQ 2004-12-15

+

Graphviz FAQ 2005-12-27

Stephen North, Emden Gansner, @@ -273,6 +273,31 @@ layouts other than trees, too).

Output features

+Q. How can I get high quality (antialiased) output? +

+The easiest thing may be to make the layout in Postscript (option -Tps), +then run through Ghostview with +antialiasing enabled. The important command line options are +-dTextAlphaBits=4 -dGraphicsAlphaBits=4 +(4 is the highest level of antialiasing allowed - see the +Ghostview documentation). +The full command line to render a raster could be something like: +

+gs -q -dNOPAUSE -dBATCH -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sDEVICE=png16m -sOutputFile=file.png file.ps
+
+

+On Mac OS X, the pixelglow port +uses Apple's Quartz renderer, which enables antialiasing. (The downside is +that you can't run Pixelglow Graphviz as a web server or other background +process if your Mac has 3D graphics, because Quartz wants to get this resource +to accelerate its rendering.) +

+On the Linux bleeding edge, Graphviz can use the new cairo +back end, which has antialiased rendering. This requires installing cairo, which +is not part of graphviz itself. Cairo can be compiled from source and binary RPMs can be found +for Fedora Core 4. It is believed that Cairo will be part of FC5 and may enable +this back end if it is already installed. +

Q. I can only get 11x17 output.

It's not us! It's probably your printer setup. If you don't