[reportlab-users] MediaWiki's "Download as PDF" feature uses ReportLab but has a problem

Yao Ziyuan yaoziyuan at gmail.com
Mon Jan 2 07:02:31 EST 2012


On Mon, Jan 2, 2012 at 7:39 PM, Andy Robinson <andy at reportlab.com> wrote:

> On 2 January 2012 11:33, Yao Ziyuan <yaoziyuan at gmail.com> wrote:

>> So now I'm confused. Is it MediaWiki's or ReportLab's fault for the

>> line wrapping problem described in the above bug report

>> (https://bugzilla.wikimedia.org/show_bug.cgi?id=33430)?

>>

>

> MediaWiki (actually PediaPress.de) decided to use our library a few years ago;

> we did some work to improve inline images to support equations, but

> they did not mention Asian line wrapping at the time and I did not know

> about this limitation.

>

> I guess they are simply not using our wordwrap=CJK option.  Our library

> needs to be told "this is Japanese/Chinese, use a different algorithm";

> it does not auto-detect based on the encoding.

>

> Also, until some time last year, we could not properly handle mixed text

> in the same sentence.  We have improved this now.


Thank you for your explanation. I will copy your explanation to that bug report.


>

>

> - Andy

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at lists2.reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users



More information about the reportlab-users mailing list