I've slightly changed the code for to be implemented as Aozora Application Server plugin: configuration file is placed to
$AAS_ROOT/etc
and fonts are placed into $AAS_ROOT/var/fonts/
directory. Everything else just same.Works with legacy ReportLab 1.21 and new ReportLab 2.0. PIL 1.6 needs to be installed for image process (check out the webpage of RL).
I have no much time documenting RML myself, therefore grab official Report Lab RML documentation.
For Japanese language I use Microsoft "MS Mincho", taken from Windows OS, and Osaka, taken from MacOS X, fonts. I still have troubles loading huge Unicode Arial font. Using multiple fonts works fine.
No comments:
Post a Comment