diff --git a/src/const.py.in b/src/const.py.in index 7acd1d1a4..2448a3259 100644 --- a/src/const.py.in +++ b/src/const.py.in @@ -199,7 +199,7 @@ else: # #------------------------------------------------------------------------- COPYRIGHT_MSG = u"\u00A9 2001-2006 Donald N. Allingham\n" \ - u"\u00A9 2007-2014 The Gramps Developers" + u"\u00A9 2007-2015 The Gramps Developers" COMMENTS = _("Gramps (Genealogical Research and Analysis " "Management Programming System) is a personal " "genealogy program.") diff --git a/src/gui/editors/displaytabs/Makefile.am b/src/gui/editors/displaytabs/Makefile.am index ac38c7a38..6e24b3cff 100644 --- a/src/gui/editors/displaytabs/Makefile.am +++ b/src/gui/editors/displaytabs/Makefile.am @@ -31,6 +31,7 @@ pkgpython_PYTHON = \ locationembedlist.py \ locationmodel.py \ mediabackreflist.py \ + mediaattrembedlist.py \ nameembedlist.py \ namemodel.py \ notebackreflist.py \ diff --git a/src/plugins/docgen/SvgDrawDoc.py b/src/plugins/docgen/SvgDrawDoc.py index a56e82444..70e406cd4 100644 --- a/src/plugins/docgen/SvgDrawDoc.py +++ b/src/plugins/docgen/SvgDrawDoc.py @@ -86,7 +86,7 @@ class SvgDrawDoc(BaseDoc, DrawDoc): '\n' + '\n' + - '\n' @@ -120,7 +120,7 @@ class SvgDrawDoc(BaseDoc, DrawDoc): self.t.write('font-weight:bold;') if font.get_italic(): self.t.write('font-style:italic;') - self.t.write('font-size:%d; ' % size) + self.t.write('font-size:%dpt; ' % size) if font.get_type_face() == FONT_SANS_SERIF: self.t.write('font-family:sans-serif;') else: @@ -193,12 +193,13 @@ class SvgDrawDoc(BaseDoc, DrawDoc): style_sheet = self.get_style_sheet() box_style = style_sheet.get_draw_style(style) + shadow_width = box_style.get_shadow_space() - if box_style.get_shadow(): + if box_style.get_shadow() and shadow_width > 0: self.f.write( '\n' @@ -241,7 +242,7 @@ class SvgDrawDoc(BaseDoc, DrawDoc): self.t.write(' font-weight:bold;') if font.get_italic(): self.t.write(' font-style:italic;') - self.t.write(' font-size:%d;' % font_size) + self.t.write(' font-size:%dpt;' % font_size) if font.get_type_face() == FONT_SANS_SERIF: self.t.write(' font-family:sans-serif;') else: @@ -274,7 +275,7 @@ class SvgDrawDoc(BaseDoc, DrawDoc): self.t.write('font-weight:bold;') if font.get_italic(): self.t.write('font-style:italic;') - self.t.write('font-size:%d; ' % font_size) + self.t.write('font-size:%dpt; ' % font_size) if font.get_type_face() == FONT_SANS_SERIF: self.t.write('font-family:sans-serif;') else: