Package: graphviz
Version: 2.16.1-2
Severity: important

The PostScript output in 'dot' and 'neato' programs of Graphviz package is 
broken in most
cases. Below I illustrate this bugreport with two examples using 'neato'. All 
mentioned
input/output files are available in a sigle ZIP archive at:

ftp://weird.da.ru/bugs/neato_ps_bug.zip

First, let's consider a small input 1a.dot and supply it to neato as

dot -v -T ps -O 1a.dot

I provide the resulting file under the name 1a.ps and the log produced by neato 
under the name 1a.log.
The file 1a.ps is broken that can be easily seen, comparing its content to the 
correct PDF file 1a.pdf,
produced by the same command with "-T pdf" instead of "-T ps".

The source of troubles in this example seems to be the explicitly specified 
fontname in
1a.dot: fontname="freefont/FreeSans" despite that the log 1a.log does not 
indicate any
apparent problems with the specified font.
If I remove this specification (see 1b.dot) then the neato's output (1b.ps) is 
correct.

Unfortunately, the fontname is not always an issue. In the second example 
(2.dot) I don't
use any fontname= but the resulting file (2.ps) does not contain any image at 
all, despite its
rather large size and no apparent errors in the log file (2.log).
Again, if the output format is switched to PDF, neato produces a correct file 
(2.pdf).

Actually, PDF (or PNG) output format perfectly works with fontname= 
specification as the one mentioned above.
But in most cases I have no luck with PostScript format, the resulting .ps 
files are broken.

Best Regards,
Max

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24.3
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Shell: /bin/sh linked to /bin/bash

Versions of packages graphviz depends on:
ii  libc6                  2.7-9             GNU C Library: Shared libraries
ii  libexpat1              1.95.8-4          XML parsing C library - runtime li
ii  libgd2-xpm             2.0.36~rc1~dfsg-1 GD Graphics Library version 2
ii  libgraphviz4           2.16.1-2          rich set of graph drawing tools
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxaw7                2:1.0.4-1         X11 Athena Widget library
ii  libxmu6                2:1.0.4-1         X11 miscellaneous utility library
ii  libxt6                 1:1.0.5-3         X11 toolkit intrinsics library

graphviz recommends no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to