Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000143graphvizOutput Generationpublic2002-11-27 00:002011-04-28 04:02
ReporterDave Carlson 
Assigned Toellson 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOS*-*-*OS Version
Summary0000143: SVG rendering bug
Description



In svggen.c:



1) Scale is not consistently applied when emitting cp->fontsz
(though we could quibble about whether we want to do this once
at the head of the entire SVG output or not). It is true that
the default coord system in SVG is pixel space.



Even if you correct, this there are other problems.



2) The code gen calls svg_set_font() when it starts up
to initialize the default font, but svggen.c doesn't do
anything with the values except save them on cstk[] !



3) The code in svg_font() that apparently is trying to
set the SVG environment to be consistent with cstk[] checks
against cstk[0] not cstk[SP]!



4)Designing svg_font() in this way means it can't easily be
called by svg_set_font() to establish the initial environment.



Thus examples like
<CD>
    digraph G {
        node [fontsize=32]
        a [label="A Good Deal\nand a Good Deal More"];
    }
</CD>



come out wrong because the font is never set to 32 (or 32 * 96/72,
actually).



Additional Information

[erg] See also bug 191.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID229
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (23 Jan 2003)
VERSION 1.8.10
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