Last modified: 2009-08-27 10:00:30 UTC
When using large fonts, the updated collection extension now accepts inline font-sizes, but because it doesn't also adjust the line feed sizing at the same rate, lines overwrite each other causing them to gather at the top of the page, in a big mess. Line feed spacing should be adjusted to suite font sizes.
Could you please supply an example article where font sizing is a problem.
Sure try the following: <p style="text-align:center;font-size:480%;font-weight:bold;">LINE ONE</p> <p style="text-align:center;font-size:480%;font-weight:bold;">LINE TWO</p> In wikilanguage this will result in two separate lines of text, but when converted to PDF the second line overwrites the first one because the line spacing is not being adjusted to suite the font size.
Ok, I can confirm the problem. Interestingly enough, if inline spans are used, the Mediawiki renders the on top of each other but the PDF writer does it right... Check http://simple.pediapress.com/w/index.php/MarkupReference/FormatterExample#Paragraphs for examples. Anyways I'll look into the problem you mention above
The problem with overlapping paragraphs is due to a bug in the PDF toolkit (reportlab) we're using. I submitted the bug: http://two.pairlist.net/pipermail/reportlab-users/2009-June/008483.html As soon as the bug is fixed I'll update the reportlab version.
The latest reportlab version is now used in mwlib.ext. This fixes the above issue