From d4e50a9ed6e93267f7096b21b65ecd78f6a3f437 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 19 Jun 2001 22:37:42 +0000 Subject: [PATCH] Better image sizing svn: r166 --- gramps/src/TextDoc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gramps/src/TextDoc.py b/gramps/src/TextDoc.py index 317faecbf..0a555dd36 100644 --- a/gramps/src/TextDoc.py +++ b/gramps/src/TextDoc.py @@ -293,7 +293,9 @@ class ParagraphStyle: def set(self,rmargin=None,lmargin=None,first_indent=None,align=None,\ tborder=None,bborder=None,rborder=None,lborder=None,pad=None, - bgcolor=None): + bgcolor=None,font=None): + if font != None: + self.font = FontStyle(font) if pad != None: self.set_padding(pad) if tborder != None: