* src/plugins/GraphViz.py: Fix computation of landscape dimensions,
especially when generating multiple sheets svn: r4964
This commit is contained in:
parent
460967116f
commit
28de227342
@ -1,8 +1,11 @@
|
||||
2005-07-23 Julio Sanchez <jsanchez@users.sourceforge.net>
|
||||
* src/plugins/GraphViz.py: Fix computation of landscape dimensions,
|
||||
especially when generating multiple sheets
|
||||
|
||||
2005-07-22 Don Allingham <don@gramps-project.org>
|
||||
* src/ImgManip.py: provide path of a thumbnail
|
||||
* src/NavWebPage.py: add user defined header/footer, add thumbnails
|
||||
|
||||
2005-07-22 Julio Sanchez <jsanchez@users.sourceforge.net>
|
||||
* src/dates/Date_es.py: fix translation table for date qualifiers
|
||||
* src/dates/Date_fr.py: fix translation table for date qualifiers
|
||||
* src/plugins/DetAncestralReport.py: show events even if they have
|
||||
|
@ -207,10 +207,16 @@ class GraphViz:
|
||||
self.f.write("center=1;\n")
|
||||
self.f.write("margin=%3.2f;\n" % self.margin_small)
|
||||
self.f.write("ratio=fill;\n")
|
||||
self.f.write("size=\"%3.2f,%3.2f\";\n" % (
|
||||
(self.width-self.margin*2)*self.hpages,
|
||||
(self.height-self.margin*2)*self.vpages
|
||||
))
|
||||
if self.orient == PAPER_LANDSCAPE:
|
||||
self.f.write("size=\"%3.2f,%3.2f\";\n" % (
|
||||
(self.height-self.margin*2)*self.hpages,
|
||||
(self.width-self.margin*2)*self.vpages
|
||||
))
|
||||
else:
|
||||
self.f.write("size=\"%3.2f,%3.2f\";\n" % (
|
||||
(self.width-self.margin*2)*self.hpages,
|
||||
(self.height-self.margin*2)*self.vpages
|
||||
))
|
||||
self.f.write("page=\"%3.2f,%3.2f\";\n" % (self.width,self.height))
|
||||
|
||||
if self.orient == PAPER_LANDSCAPE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user