Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002106graphvizDotpublic2011-06-21 10:512011-10-28 07:49
Reporterdricks2222 
Assigned Toerg 
PrioritynormalSeverityminorReproducibilityalways
StatusassignedResolutionopen 
PlatformlinuxOSubuntuOS Version10.04
Summary0002106: Regression : FONT tag inside html table labels
DescriptionI'm using the FONT tag inside tablecells in htmllabels to change font size and colors.
It works well with the very first node, but all other nodes are fucked up. They get a bold with italic style, and a small size. Weird !
Steps To ReproduceHere is a sample which show the problem.
The first node has good style and size, not the second one...

digraph WorkFlow{
        truecolor=true;
        ranksep=1.25;
        node [shape=plaintext, fontsize=10.75,fontname="Verdana"];
        graph [bgcolor=white, pad=0.13];
        edge [arrowsize=0.75, color="#08306B",fontsize=8,fontname="Verdana"];
        
test1 [label=<<TABLE><TR><TD><FONT COLOR="#00441B">First is fine</FONT></TD></TR><TR><TD><FONT POINT-SIZE="8" COLOR="#08306B">Good</FONT></TD></TR></TABLE>>];
test2 [label=<<TABLE><TR><TD><FONT COLOR="#00441B">From now on, fucked up</FONT></TD></TR><TR><TD><FONT POINT-SIZE="8" COLOR="#08306B">Bad</FONT></TD></TR></TABLE>>];

test1->test2;
}
Additional Information2.28 bug

Works fine in 2.26
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.28
Attached Filespng file icon graphviz_bug.png [^] (5,075 bytes) 2011-06-21 10:53


dot file icon test_2106.dot [^] (796 bytes) 2011-10-19 04:52
png file icon test_2106.dot.png [^] (13,564 bytes) 2011-10-19 04:53


dot file icon test_2106.2.dot [^] (601 bytes) 2011-10-19 05:23
png file icon test_2106.2.dot.png [^] (15,885 bytes) 2011-10-19 05:23


dot file icon test_2106.3.dot [^] (916 bytes) 2011-10-19 05:25
png file icon test_2106.4.dot.png [^] (5,654 bytes) 2011-10-19 05:25


png file icon test_2106.3.dot.png [^] (6,329 bytes) 2011-10-19 05:26


dot file icon test_2106.4.dot [^] (601 bytes) 2011-10-19 05:29
png file icon test_2106.4.dot.correct.png [^] (12,063 bytes) 2011-10-19 05:30

- Relationships

-  Notes
User avatar (0000025)
erg (administrator)
2011-07-06 11:42

We have tried this on Ubuntu 10.10 and cannot duplicate the problem.
User avatar (0000056)
txtracer (reporter)
2011-08-26 16:58
edited on: 2011-08-26 18:14

Duplicated on Red Hat Enterprise Linux Server release 5.4 (Tikanga). For me, it's not always the second node that is messed up; sometimes it's the third node. On a graph with 28 nodes, 17 exhibit the behavior.

Is there some kind of internal caching issue? Because that's what this looks like.

User avatar (0000086)
xfournet (reporter)
2011-10-19 04:52
edited on: 2011-10-19 04:55

I have also the same kind of problem when I use the font tag in HTML label. I'm using Windows 7 64 bit and Graphviz 2.28. The problem was not occuring with 2.26.
See attachements to reproduce the problem.
In my test case, the problem occurs for the 10th, 11th, 14th and 15th nodes.
In more complex graph the problem can lead to unreadable text, so the problem is quite blocking for us.

User avatar (0000087)
xfournet (reporter)
2011-10-19 05:28

2 other tests that show that the problem occurs also when specifying nothing in the font tag.
The test_2106.3.dot lead to warning when dot process it but the render has no problem in this case:

>dot -Tpng test_2106.3.dot -O
Error - pango_parse_markup: Error on line 1 char 30: Odd character '>', expected a '=' after attribute name 'text' of element 'Some'
Error - pango_parse_markup: Error on line 1 char 30: Odd character '>', expected a '=' after attribute name 'text' of element 'Some'
Error - pango_parse_markup: Error on line 1 char 30: Odd character '>', expected a '=' after attribute name 'text' of element 'Some'
Error - pango_parse_markup: Error on line 1 char 35: Odd character '>', expected a '=' after attribute name 'text' of element 'Some'
Error - pango_parse_markup: Error on line 1 char 30: Odd character '>', expected a '=' after attribute name 'text' of element 'Some'
Error - pango_parse_markup: Error on line 1 char 35: Odd character '>', expected a '=' after attribute name 'text' of element 'Some'
User avatar (0000088)
xfournet (reporter)
2011-10-19 05:31

Finally the test 4 show that the problem is related to the font tag, not the whole node. (Ignore the test_2106.4.dot.png attachment, the correct one is test_2106.4.dot.correct.png)

Hope that it will help to resolve the issue!
Regards,
User avatar (0000098)
erg (administrator)
2011-10-20 17:25

I am still unable to reproduce this on any Unix machine, including Red Hat 5.3. However, I was able to catch sight of it on Windows, but at present I can't build or debug on Windows. So I started reading through the source to see how such a problem could occur. I believe I found the problem, which was fixed last August, but after 2.28 went out. I will try to verify this.
User avatar (0000101)
xfournet (reporter)
2011-10-28 07:49

I would to test with the latest development snapshot but their is no more link to get it in http://www.graphviz.org/Download_windows.php [^]
and http://www.graphviz.org/pub/graphviz/development/windows/ [^] is empty

where can I get the latest dev snapshot ?

- Issue History
Date Modified Username Field Change
2011-06-21 10:51 dricks2222 New Issue
2011-06-21 10:53 dricks2222 File Added: graphviz_bug.png
2011-07-06 11:42 erg Note Added: 0000025
2011-08-26 16:58 txtracer Note Added: 0000056
2011-08-26 18:14 txtracer Note Edited: 0000056 View Revisions
2011-10-19 04:52 xfournet Note Added: 0000086
2011-10-19 04:52 xfournet File Added: test_2106.dot
2011-10-19 04:53 xfournet File Added: test_2106.dot.png
2011-10-19 04:55 xfournet Note Edited: 0000086 View Revisions
2011-10-19 05:23 xfournet File Added: test_2106.2.dot
2011-10-19 05:23 xfournet File Added: test_2106.2.dot.png
2011-10-19 05:25 xfournet File Added: test_2106.3.dot
2011-10-19 05:25 xfournet File Added: test_2106.4.dot.png
2011-10-19 05:26 xfournet File Added: test_2106.3.dot.png
2011-10-19 05:28 xfournet Note Added: 0000087
2011-10-19 05:29 xfournet File Added: test_2106.4.dot
2011-10-19 05:30 xfournet File Added: test_2106.4.dot.correct.png
2011-10-19 05:31 xfournet Note Added: 0000088
2011-10-20 17:25 erg Note Added: 0000098
2011-10-20 17:28 erg Assigned To => erg
2011-10-20 17:28 erg Status new => assigned
2011-10-28 07:49 xfournet Note Added: 0000101


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