fonts separated with white-spaces are not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
fonts separated with white-spaces are not supported under Linux. The css font-family description says:
"Note: If a font name contains white-space, it must be quoted. Single quotes must be used when using the "style" attribute in HTML."
In build_footer_css and build_lyrics_
Here a short fix for both:
...
lyrics = '%s word-wrap: break-word; ' \
(justify, align, valign, "\"" + theme_data.
...
lyrics_html = style % (item.footer.x(), bottom, item.footer.
...
I'm a python noob, sorry...
Hi Maarts,
Which version of OpenLP is this and which file?