[Chicago] understanding unicode problems

Carl Karsten carl at personnelware.com
Fri Nov 16 22:32:37 CET 2007

The code is being called from a django view, which sends a pdf to the client.

from dabo.dReportWriter import dReportWriter

     # generate the pdf in the buffer, using the layout and data
     rw = dReportWriter(OutputFile=buffer, ReportFormFile=xmlfile, Cursor=ds)

Carl K

Feihong Hsu wrote:
> Why is this necessary? Dabo uses wxPython, which has an API for 
> iterating through all the available fonts on the system. Put all the 
> font names in a combobox, and let the user decide which font she wants 
> the report to be in. If the user wants to use FreeSans, FreeSerif, etc, 
> she can download them herself.
> -Feihong
> */Carl Karsten <carl at personnelware.com>/* wrote:
>     Another issue just popped up: Font support. I asked Paul, we
>     volleyed some
>     emails, and he just asked the Report-lab list:
>     === begin ==
>     I'm looking for a set of fonts that I can distribute with Dabo's
>     report writer
>     (which wraps reportlab). I like FreeSans, FreeSerif, and FreeMono, but
>     unfortunately those are GPL and so not compatible with Dabo's license.
>     The requirements would be:
>     + free, non-viral license
>     + truetype
>     + good amount of glyphs
>     + a sans-serif, a serif, and a monotype font, with italics, bold,
>     and bold-italic
>     Any suggestions? I'd like there to be a basic set of fonts that we
>     can guarantee
>     will be available on all platforms and in all installations of Dabo,
>     regardless
>     of what fonts a particular user/operating system already has installed.
>     == end ==
>     I was thinking the unicode support was now only an issue in older,
>     un-maintained
>     code/documents that are lingering on. apparently modern OS
>     distributions too?
>     Carl K
>     _______________________________________________
>     Chicago mailing list
>     Chicago at python.org
>     http://mail.python.org/mailman/listinfo/chicago
> Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try 
> it now. 
> <http://us.rd.yahoo.com/evt=51731/*http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ 
>  >
> ------------------------------------------------------------------------
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago

More information about the Chicago mailing list