Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000981graphvizDotpublic2005-10-03 03:382011-04-28 04:03
ReporterBerend Ossevoort 
Assigned Togviz 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOS*-SunOS-05OS Version
Summary0000981: size option doesn't resize text under Sun
Description



Hello,



I want to resize my picture because it is to big, so in my dot file I put the line:
size="5,6.5" ratio=auto
This should resize my picture. It does that, the text doesn't resize!
Under Windows XP and Linux 2 this problem doesn't occur!



command line: dot example.dot -Tgif -o example_size.gif



Additional Information

[erg] There appear to be two bugs here. First, and primarily, it would appear that something is amiss with
either the libgd or the fonts on your Sun machine. When dot can't find a font, it reverts to a handful
of built-in fonts. This looks like what you are getting in the output. When this happens, you
should be getting an error message about the missing font. Is nothing being produced? What if you
run dot -v ?

The second, related bug is that, when dot reverts to the built-in fonts, it doesn't take into account
scaling factor, picking the same font as in the unscaled case. Since there are only 5 sizes available, the
scaling is never going to be perfect but it should be somewhat closer in your case.

[berend.ossevoort] o answer your questions, No I don't get any error messages and if I run:
dot example.dot -v -Tgif -o example_v.gif
This has the simular result as before (see example_v.gif) and the output looks also quite normal (see example_v.out)

<CD>
dot: fontname=Times-Roman fontpath=[internal gd]
network simplex: 11 nodes 19 edges 0 iter 0.00 sec
mincross: pass 0 iter 0 trying 0 cur_cross 0 best_cross 0
mincross Example: 0 crossings, 0.00 secs.
network simplex: 120 nodes 173 edges 37 iter 0.01 sec
routesplines: 25 edges, 399 boxes, 0 splines 0.10 sec
dot: allocating a 223K PaletteColor GD image
</CD>
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID802
INPUT-FILEhttp://www.graphviz.org/bugs/b802.dot [^]
OUTPUT-FILEhttp://www.graphviz.org/bugs/b802.gif [^]
STATUS-COMMENT*
VERSION     2.2.1 & 2.4
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