[prev in list] [next in list] [prev in thread] [next in thread] 

List:       graphviz-interest
Subject:    Re: [graphviz-interest] img tag padding
From:       Ryan Schmidt <graphviz-2011b () ryandesign ! com>
Date:       2011-04-20 10:25:03
Message-ID: CFE6C0CD-1813-4A49-B791-0A071AF8278E () ryandesign ! com
[Download RAW message or body]

On Apr 20, 2011, at 05:06, Björn Olsson wrote:

> > I think some of the HTML-like tags in your label got lost here? Can you try \
> > sending them again, maybe with a different mailer?
> 
> http://pastebin.com/MupE1Qxs

You can play with the various padding and spacing attributes; the defaults are not \
zero.

http://www.graphviz.org/doc/info/shapes.html#html

Your screenshot showed a lot more spacing than I'm getting though. I get a few pixels \
of padding/spacing; your screenshot shows about 40 pixels which is a lot more than \
I'd expect.

What DPI is recorded in the PNG images you're using? Mine are at 72 DPI and look \
fine; perhaps Graphviz isn't properly handling everything when the DPI is different.

Also, I'm using the latest 2.27 development snapshot. There has been more than a year \
of development in Graphviz since 2.26 was released so you may want to try a later \
version; this may be a bug that's already been fixed.



_______________________________________________
graphviz-interest@research.att.com
https://mailman.research.att.com/mailman/listinfo/graphviz-interest


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic