[reportlab-users] ANN: wordaxe-0.2.6 released

Andy Robinson andy at reportlab.com
Tue Sep 16 08:29:22 EDT 2008


2008/9/16 Roberto Alsina <ralsina at netmanagers.com.ar>:

>> * This new release now supports pyhyphen, which is based on the C library

>> from OpenOffice and works a lot better (at least on my computer) than

>> pyhnj.

>

> Great news! Finally spanish hyphenation!


If we're going to refactor or replace paragraph code, we need to either
(a) make it easy to plug in or switch the 'wrapping algorithm', or
(b) create a Grand Unified Paragraph which does the right things
for all languages.

My main worry, not having looked at the code yet, is how easily we can
create a hybrid para which does all this stuff and also supports Japanese
word breaking (which ReportLab can do with the cjkwrap options). We're
rendering lots of Asian pages - go to www.hilton.co.jp and click "e-Pamphlet"
if you can read katakana ;-)

In brief, certain ranges of characters can be assumed to be
Asian languages which don't have spaces between the words. Instead
of hyphenating, you have characters which are good and bad to end a
line on.

Henning, have you done anything to do with that? Does the Openoffice
extension offer any support for Asian languages?

- Andy


More information about the reportlab-users mailing list