diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 43b6a4ee7..646a85530 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,6 +1,6 @@ 2005-08-26 Don Allingham * src/plugins/DescendChart.py: Fix spacing and line drawing, - added maximum number of generations + added maximum number of generations, fixed shadow scaling 2005-08-25 Don Allingham * src/SubstKeywords: Add new % options diff --git a/gramps2/src/plugins/DescendChart.py b/gramps2/src/plugins/DescendChart.py index aae7ecf87..366770571 100644 --- a/gramps2/src/plugins/DescendChart.py +++ b/gramps2/src/plugins/DescendChart.py @@ -305,7 +305,11 @@ class DescendChart(Report.Report): g.set_height(self.box_height) g.set_width(self.box_width) g.set_paragraph_style("DC2-Normal") - g.set_shadow(1,self.box_gap/self.scale) + if self.scale < 1: + g.set_shadow(1,self.box_gap) + else: + g.set_shadow(1,self.box_gap/self.scale) + g.set_line_width(g.get_line_width()/self.scale) g.set_fill_color((255,255,255)) self.doc.add_draw_style("DC2-box",g)