Skip to content

Commit

Permalink
No span style defaults to support full inheritance.
Browse files Browse the repository at this point in the history
  • Loading branch information
strichter committed Apr 10, 2018
1 parent 1018d54 commit 150a41f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/z3c/rml/paraparser.py
Expand Up @@ -131,13 +131,8 @@ def _get_text(self):


class SpanStyle(reportlab.lib.styles.PropertySet):
defaults = {
'fontName': reportlab.lib.styles._baseFontName,
'fontSize': 10,
'textColor': reportlab.lib.styles.black,
'backColor': None,
'textTransform':None,
}
# Do not specify defaults, so that all attributes can be inherited.
defaults = {}


class Z3CParagraphParser(reportlab.platypus.paraparser.ParaParser):
Expand Down

0 comments on commit 150a41f

Please sign in to comment.