ANNOUNCE pisa 3.0.28

57 views
Skip to first unread message

Dirk Holtwick

unread,
Nov 21, 2008, 11:01:39 AM11/21/08
to xhtm...@googlegroups.com
Hi,

finally we got a new release of Pisa/XHTML2PDF. Get it here:

http://pypi.python.org/pypi/pisa/
http://www.xhtml2pdf.com/

This is a major new release that should work significantly better now.
Here the changes in detail:

- NEW: Requires Reportlab 2.2 now!
- NEW: Background colors for inline elements like <span>
- NEW: Inline images and left and right aligned images implemented
- NEW: Possibility to handle table cells that are to large via CSS option
-pdf-keep-in-frame-mode
- NEW: Option "--system" for command line tool to dump system version infos
- NEW: CSS attribute -pdf-line-spacing for fix space between lines
- NEW: Creation and handling of data URI with base64 encoding (others to
come)
- NEW: New general file loader that is also able to load remote data and
data URI
- NEW: PDF Joiner to concatenate many PDF and pisa documents
- NEW: Page backgrounds can now be images or PDF
- NEW: Visual Unittests based on ImageMagick and TortoiseIDiff (for Windows)
- NEW: Pisa raises execptions now if errors occure; with
pisaDocument(..., raise_execeptions=False) you can turn them off
- UPD: Paragraphs now use the maximum leading to avoid overlapping text
- UPD: Removed "Keep with next" from H1 to H6
- FIX: Sizing of images is now handled better; should better work with PIL
- FIX: Border handling of paragraphs optimized and fixed
- FIX: Images that are higher than the page frame are scaled down to fit
- FIX: Paragraphs only containing &nbsp; are rendered
- FIX: Problem regarding the order of border style definitions
- FIX: Single <br> between two blocks now creates a new line
- FIX: Set table attribute "repeat" to "0"
- FIX: Some <font> attributes did not work as expected
- FIX: Font sizes reworked to behave like browser implmentations
- FIX: Like in most HTML browser table cells now have "valign=middle" and
table headers have font weight bold
- FIX: Little fix in CSS parsing
- FIX: Default of <link media=""> was "screen", changed to "all"
- FIX: Command line tools did not install with "easy_install"

If you find bugs please publish them here:

http://code.google.com/p/xhtml2pdf/issues/list

Enjoy it.

Dirk

Dirk Holtwick

unread,
Nov 21, 2008, 11:03:09 AM11/21/08
to pisa HTML/CSS to PDF
***************************************************************
IF YOU DID NOT YET, PLEASE SWITCH TO THIS MAILING LIST:
http://groups.google.com/group/xhtml2pdf?pli=1
***************************************************************

Hi,

http://pypi.python.org/pypi/pisa/
http://www.xhtml2pdf.com/

http://code.google.com/p/xhtml2pdf/issues/list

Enjoy it.

Dirk

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________

'pisa' HTML/CSS to PDF converter for Python
http://www.htmltopdf.org
_______________________________________________

spirito-pisa-support mailing list
spirito-pi...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spirito-pisa-support

Dirk Holtwick

unread,
Nov 23, 2008, 12:06:20 PM11/23/08
to Jeff Bauer, xhtm...@googlegroups.com
Hi Jeff,

there is no difference at all ;) I like to move from the name "pisa" to
the new name "xhtml2pdf" because it is more self explaining and the old
name was chosen for reasons from my old company that do not apply any more.

Since "pisa" is the name of the package since a few years I am trying to
change step by step. The next major release 4.0 will be called only
"xhtml2pdf" and then the name "pisa" will not be used any more.

Sorry for the chaos that is in the communication for the moment. I hope
to clarify this in the next time.

Cheers
Dirk

Jeff Bauer schrieb:
> Dirk Holtwick wrote:
>> I just published a new version of Pisa/XHTML2PDF. You can get it here:
>>
>> http://pypi.python.org/pypi/pisa/
>> http://www.xhtml2pdf.com/
>
> Dirk,
>
> What's the difference between Pisa and XHTML2PDF? Is it just that
> the latter is restricted to XHTML? Thanks.
>
> -Jeff
>

Reply all
Reply to author
Forward
0 new messages