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

--- Comment #32 from Ziyuan Yao <yaoziy...@gmail.com> 2012-01-12 04:32:58 UTC 
---
Found a problem with the tiny space approach: Chinese characters don't take up
the full space of a line; there is still much space left on the right side of
each line. For example: try http://www.mediawiki.org/wiki/MediaWiki/zh-hans

I guess this is caused by how ReportLab counts the text length of what's
already put on a line: after putting each word, it adds that word's length and
a normal space's width. But now there are actually two kinds of space width:
normal width (as between two English words) and tiny width (as between two
Chinese characters). It seems ReportLab thinks all spaces are using the normal
width, therefore starting a new line prematurely.

Can this be fixed? Can you let ReportLab count tiny spaces as tiny spaces, not
normal spaces?

-- 
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