Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000614graphvizDotpublic2006-09-08 11:032011-04-28 04:03
ReporterRyan Schmidt7 
Assigned Toellson 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSPowerPC-OSX-OS Version
Summary0000614: Chars omitted from ends of label strings which begin with newlines
Description



The fix for bug 1013 (stripped newlines) may have left this problem: It seems that
(some) labels which start with newlines end up getting the last few chars of the
label cut off when rendered (xdot, png, etc.)



Note how the second text string in the graph's _ldraw_ command ends with "3" and
is missing "/19/93". This example is taken from directed/crazy.dot.



Another example exists in directed/alf.dot for which this error message is produced:



  Error: bad label format \n\nDecl|{name|access|decl_flags|extern_c_linkag



There are in fact two characters "e}" that Graphviz has chopped from the end of that label.



Steps To Reproduce

digraph G
{
  graph[label="\n\n\n\nObject Oriented Graphs\nStephen North, 3/19/93"]
}
Additional Information

I'm not sure what exactly triggers the problem. A simple test case does not exhibit it:
digraph G {graph[label="\n\n\n\nfoo\nbar"]}
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1016
INPUT-FILE
OUTPUT-FILEhttp://www.graphviz.org/bugs/b1016.dot [^]
STATUS-COMMENTFixed (8 Sept 2006)
VERSION     
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 => user695


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