Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000505graphvizDotpublic2004-10-25 00:002011-04-28 04:02
ReporterIan G Batten 
Assigned Toellson 
PlatformOSReproduced on Linux Redhat 9.0 aOS Version
Summary0000505: Labelled Boxes give Incorrect Size
It appears that the size of a box is not being picked up
           from the label. This worked correctly in dot 1.10.
Steps To Reproduce
Additional Information

[ellson} In what way is the size incorrect? Please send example output.

Did you build from source?
Are you using freetype and fontconfig? Please send output of "ldd dot"

[igb] The size of the box appears to be fixed, so that the label spills out.

On Solaris 10, yes. On Linux, I am using rpms taken from the website. I have found that with, for example 1.12 things
work, with 1.16 they don't.

Install with: rpm --install --force graphviz-1.16-1.rh73.i386.rpm

Check version and ldd:

[igb@dhcp-172-16-48-184 fjwan]$ dot -V
dot version 1.16 (Tue Sep 14 22:21:57 UTC 2004)
[igb@dhcp-172-16-48-184 fjwan]$ type dot
dot is hashed (/usr/bin/dot)
[igb@dhcp-172-16-48-184 fjwan]$ ldd /usr/bin/dot => /usr/lib/graphviz/ (0x40014000) => /usr/lib/graphviz/ (0x4005f000) => /usr/lib/graphviz/ (0x40063000) => /usr/lib/graphviz/ (0x40086000) => /usr/lib/ (0x400ef000) => /usr/lib/ (0x40141000) => /usr/lib/ (0x4015f000) => /usr/lib/ (0x40181000) => /usr/lib/ (0x401a1000) => /usr/lib/graphviz/ (0x401af000) => /lib/ (0x401bb000) => /usr/lib/graphviz/ (0x401dd000) => /usr/lib/graphviz/ (0x401e7000) => /lib/ (0x401ec000)
    /lib/ => /lib/ (0x40000000)

Create my file:

[igb@dhcp-172-16-48-184 fjwan]$ rm pdf/org.pdf
[igb@dhcp-172-16-48-184 fjwan]$ make pdf/org.pdf
dot -Tps2 < > pdf/
ps2pdf pdf/ pdf/org.pdf
rm pdf/
[igb@dhcp-172-16-48-184 fjwan]$ mv pdf/org.pdf pdf/org-1.16.pdf

Revert version with: rpm --install --force ../graphviz-1.12-1.i386.rpm

[igb@dhcp-172-16-48-184 fjwan]$ type dot
dot is hashed (/usr/bin/dot)
[igb@dhcp-172-16-48-184 fjwan]$ dot -V
dot version 1.12 (Wed Jul 28 14:55:03 UTC 2004)
[igb@dhcp-172-16-48-184 fjwan]$ ldd /usr/bin/dot => /usr/lib/ (0x40032000) => /usr/lib/graphviz/ (0x40052000) => /usr/lib/graphviz/ (0x4005e000) => /usr/lib/graphviz/ (0x40068000) => /usr/lib/ (0x4006d000) => /usr/lib/ (0x400bf000) => /usr/lib/ (0x400e1000) => /usr/lib/ (0x400ff000) => /lib/ (0x4010d000) => /lib/ (0x4012e000)
    /lib/ => /lib/ (0x40000000)

[igb@dhcp-172-16-48-184 fjwan]$ make pdf/org.pdf
dot -Tps2 < > pdf/
ps2pdf pdf/ pdf/org.pdf
rm pdf/
[igb@dhcp-172-16-48-184 fjwan]$ mv pdf/org.pdf pdf/org-1.12.pdf

\<A HREF="b555a.pdf"\>1.12 output\</A\>.

OK, this is a bug with estimating text size when using internal fonts of last resort. It is fixed in the nightly snapshots available from: [^]

You can see what font is being used by adding the "-v" switch.
You might want to include some .ttf font directories in GDFONTPATH.
TagsNo tags attached.
STATUS-COMMENTFixed (25 Oct 2004)
VERSION   1.16
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => user695

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker