|Anonymous | Login||2017-11-22 17:21 EST|
|Main | My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001633||graphviz||Dot||public||2009-06-30 07:56||2011-04-28 04:03|
|Summary||0001633: PDF output empty or hidden text|
pdf created with no visible content.
When dot is run on linux, the pdf does is blank when view with acroread or xpdf.
When run, on OS/X, the \<A HREF="b1679a.pdf"\>graph\</A\> is visible in Preview,
but not acroread. Acrobat indicate the graph is hidden text.
[erg] I'm guessing that the problem is the size of the layout, which is 57958 x 4040. The PDF standard limits both dimensions to 14400.
As your drawing is 67 feet wide, you might want to use the size attribute to scale it down. You can then use a viewer to zoom in
for more detail.
I don't know why cairo (or ps2pdf) does not produce a warning.
To me the odder fact is that the linux output is 10 times bigger than the mac output.
I think older versions of cairo resorted to images in the PDF for "correctness".
Later versions of cairo have eliminated most of these.
Mark's pdfs -
On Fedora 11 with latest graphviz snapshot built with cairo-1.8.6, I get
PDFs are vector output, so we don't catch the large size with the checks we have for bitmap images.
We could to add a check for 14400 into plugins/pango/gvrender_pango.c if you like?
It would be create if graphviz could prevent the creation of
invalid PDFs. Cairo falling back to a bitmap isn't a good
response, IMHO, since if I wanted a bitmap, I would have ask for
it. I would actually make this an error rather than a warning,
as these problems are hard to track down and graphviz is often
used in non-interactive scripts.
|Tags||No tags attached.|
|STATUS-COMMENT||Fixed (30 Jun 2009)|
|2011-04-28 04:03||user1||New Issue|
|2011-04-28 04:03||user1||Assigned To||=> erg|
|MantisBT 1.2.5[^] Copyright © 2000 - 2011 MantisBT Group|