From 625e652fcc0146888b8c3435eca6288fc79f8d2d Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Wed, 28 Jul 2010 21:29:01 +0100 Subject: [PATCH] Line height --- openlp/core/lib/htmlbuilder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/core/lib/htmlbuilder.py b/openlp/core/lib/htmlbuilder.py index c898c955f..4848cf4ea 100644 --- a/openlp/core/lib/htmlbuilder.py +++ b/openlp/core/lib/htmlbuilder.py @@ -209,7 +209,8 @@ def build_lyrics(item): valign = u'vertical-align:middle;' else: valign = u'vertical-align:top;' - lyrics = u'%s %s %s' % (font, align, valign) + line_height = u'line-height: %d%%' % (100 + int(theme.font_main_line_adjustment)) + lyrics = u'%s %s %s %s' % (font, align, valign, line_height) if theme.display_outline: outline = u'-webkit-text-stroke: %sem %s;' % \ (float(theme.display_outline_size) / 16,