Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000737graphvizDotpublic2007-06-16 07:432011-04-28 04:03
Reporterjustxi 
Assigned Togviz 
PrioritynormalSeveritymajorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Linux-Gentoo 2007 (desktop)OS Version
Summary0000737: Text length is larger than the nodes box
Description



dot test.dot -Tpng > test.png



produces a png file where the text length is larger than the box.
Steps To Reproduce

digraph R {
        rankdir="";
        dirType="forward";

        node [style="filled" shape=box fillcolor=yellow];
        node1 [label="Project registration", fillcolor=green];
        node1a [shape=point]
        node2 [label="{Basics }" fillcolor=green shape=record]
        node2a [shape=point]
        node3 [label="stable" fillcolor=green ]

        Milestone1 [label="Milestone 1" fillcolor=green shape=diamond]

        { rank=same;Milestone1;node1a;}



        node1 -> node1a -> node2 -> node2a -> node3

}
Additional Information

[erg] Please try running dot with the -v flag and send me the output.
Also, it would be helpful if you would send along test.png
[justxi] The plugin configuration file:
<CD>
        /usr/lib/graphviz/config
                was successfully loaded.
    render : canon cmap cmapx dia dot fig gd gd2 gif hpgl imap ismap jpeg jpg mif mp pcl pic plain plain-ext png ps ps2 svg svgz vrml vtx wbmp xdot
    layout : circo dot fdp neato nop nop1 nop2 twopi
    textlayout :
    device :
    loadimage : 2ps gif2fig gif2gd gif2ps gif2svg gif2vrml jpeg2fig jpeg2gd jpeg2ps jpeg2svg jpeg2vrml png2fig png2gd png2ps png2svg png2vrml ps2ps
dot: fontname "Times-Roman" resolved to "[internal times]"
network simplex: 5 nodes 4 edges 0 iter 0.00 sec
mincross: pass 0 iter 0 trying 0 cur_cross 0 best_cross 0
mincross: pass 0 iter 0 trying 0 cur_cross 0 best_cross 0
mincross R: 0 crossings, 0.00 secs.
network simplex: 10 nodes 9 edges 0 iter 0.00 sec
routesplines: 4 edges, 12 boxes 0.00 sec
dot: allocating a 119K PaletteColor GD image
</CD>

[erg] The line

  dot: fontname "Times-Roman" resolved to "[internal times]"

shows that dot is not finding a good Times-Roman font. Did you build dot
using fontconfig? If so, what is the output of fc-list?
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1148
INPUT-FILE
OUTPUT-FILEhttp://www.graphviz.org/bugs/b1148.png [^]
STATUS-COMMENT*
VERSION     2.12
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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


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