The /Length below tells the length of the stream: it's 104 bytes and not 105.
I made a patch: is the attached PDF OK? Please check! class: PDFStream method: output(OutputStream stream): Why is 1 added? Is it correct under other circumstances? old code: write (_data.size() + 1) new code: write _data.size() ____________________________________________________________ 5 0 obj << /Length 105 /Filter [ /ASCII85Decode /FlateDecode ] >> stream Garg^iR2p................... endstream ____________________________________________________________ Hansuli Anderegg
crash01.pdf
Description: Adobe PDF document
<?xml version="1.0" encoding="utf-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <!-- defines page layout --> <fo:layout-master-set> <fo:simple-page-master master-name="first" page-height="29.7cm" page-width="21cm" margin-top="1cm" margin-bottom="2cm" margin-left="2.5cm" margin-right="2.5cm"> <fo:region-body margin-top="3cm"/> <fo:region-before extent="3cm"/> <fo:region-after extent="1.5cm"/> </fo:simple-page-master> </fo:layout-master-set> <!-- end: defines page layout --> <!-- actual layout --> <fo:page-sequence master-name="first"> <fo:static-content flow-name="xsl-region-before"> </fo:static-content> <fo:static-content flow-name="xsl-region-after"/> <fo:flow flow-name="xsl-region-body"> <fo:block> hello world </fo:block> </fo:flow> </fo:page-sequence> </fo:root>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]