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

Volker Haas <volker.h...@pediapress.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |volker.h...@pediapress.com

--- Comment #13 from Volker Haas <volker.h...@pediapress.com> 2012-01-10 
14:45:01 UTC ---
We need to distinguish two different cases:

1) rendering a PDF from the chinese/japanese Wikipedia.

2) rendering a PDF from any other wikipedia which has some chinese/japanese
text embedded inside the article.

The example you (Ziyuan) give at the very top is case 2). Your last post
suggests that this case can be handled correctly with a recent reportlab
version.

I believe this is not true. I checked out the latest reportlab version from
their subversion repository and made a little test script (I'll attach that).
The result seems to indicate that mixed cjk and and non-cjk text can't be
rendered correctly. The line breaks are either correct for cjk of non-cjk text.
(line wrapping behaviour can be toggled by enabling or disabling the CJK
wordWrapping.)

(I didn't bother to use a proper font for cjk text - but that should not
matter, except that all cjk letters are rendered as black boxes.)

Case 1) is a different matter: this should basically work. If not please
provide a minimal example / article URL.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to