Oleg Tkachenko | 1 Jan 2003 12:42

Re: Keep properties

Sharma, Siddharth wrote:

> I understand from an FOP developer that there are keep properties with table
> rows that always binds this information together.
> Does anybody have the xsl code for the same?
E.g. to keep foo and bar together you can use the following fo snippet:
	    <fo:table>
                 <fo:table-column column-width="50mm"/>
                 <fo:table-body>
                     <fo:table-row keep-together="always">
                         <fo:table-cell>
                             <fo:block>foo</fo:block>
                             <fo:block>bar</fo:block>
                         </fo:table-cell>
                     </fo:table-row>
                 </fo:table-body>
             </fo:table>

--

-- 
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
Oscar Schoof | 2 Jan 2003 12:11
Picon
Favicon

zero width space

Hi all,

I'm trying to use zero width spacing for word-wrapping purposes.
For some reason it doesn't work.
I tried using the code &#8203; and also &#x200B; for this zero width 
space and use Fop version 0.20.4.
But in, for example, "<fo:block>word&#8203;break</fo:block>" i get "word 
break", with a 'normal' space in it.
Am i doing something wrong? Does it depend on a font-family setting?

Oscar
Fabrizio Tringali | 2 Jan 2003 12:27
Picon

fop.jar with patches

Happy New Year to everybody,

anybody knows how can I take a fop.jar file with the ultimate patches?

I'm behind a firewall and so I can't synchronize my source files by CVS. 

thanks
Fabrizio
Don Berendsen | 2 Jan 2003 14:14
Picon
Favicon

Pattern fills are all solid black


Any pattern fill (e.g. see below) that I try always results in a solid black 
fill. I'm using FOP 2.0.4 with Batik version 1.5 beta2 and viewing the pdf 
with Acrobat. Can anyone provide me with some guidance or an example of a 
pattern fill that works with FOP pdf generation?

<fo:instream-foreign-object>
<svg:svg width="10cm" height="5cm" xml:space="preserve">
<svg:pattern id="sbBgPatt" preserveAspectRatio="xMidYMid meet" width="5" 
height="6" patternUnits="userSpaceOnUse" shape-rendering="optimizeSpeed">
<svg:rect x="0" y="0" width="5" height="3" fill="rgb(102,204,255)"/>
<svg:rect x="0" y="3" width="5" height="3" fill="rgb(102,204,255)"/>
</svg:pattern>
<svg:rect fill="url(#sbBgPatt)" height="150" width="150" x="100" y="100"/>
</svg:svg>
</fo:instream-foreign-object>

best wishes,

don

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus
Joerg Pietschmann | 2 Jan 2003 14:21
Picon
Favicon

Re: zero width space

On Thursday 02 January 2003 12:11, Oscar Schoof wrote:
> I'm trying to use zero width spacing for word-wrapping purposes.
> For some reason it doesn't work.
> I tried using the code &#8203; and also &#x200B; for this zero width
> space and use Fop version 0.20.4.

FOP 0.20.4 incorrectly uses a full space width for basically all Unicode space
characters.
This is fixed in 0.20.5rc, please upgrade.

J.Pietschmann
Joerg Pietschmann | 2 Jan 2003 14:32
Picon
Favicon

Re: fop.jar with patches

On Thursday 02 January 2003 12:27, Fabrizio Tringali wrote:
> anybody knows how can I take a fop.jar file with the ultimate patches?

Just download the 0.20.5rc distribution. Currently there aren't
any relevant new patches.

> I'm behind a firewall and so I can't synchronize my source files by CVS.
Spam all of the Apache federation's lists with messages how much
advantages SubVersion has over CVS. :-)
Seriously, there are rumors that a SubVersion repository will be set
up as soon as it is considered "ready for production". See
 http://subversion.tigris.org
for more info. I'm sure FOP will move SubVersion soon after the
repository is up (committers: any vetoes :-)?

J.Pietschmann
Keiron Liddle | 2 Jan 2003 14:45

Re: Pattern fills are all solid black


The problem is that patterns are not implemented in the releases as yet.

On Thu, 2003-01-02 at 14:14, Don Berendsen wrote:
> Any pattern fill (e.g. see below) that I try always results in a solid black 
> fill. I'm using FOP 2.0.4 with Batik version 1.5 beta2 and viewing the pdf 
> with Acrobat. Can anyone provide me with some guidance or an example of a 
> pattern fill that works with FOP pdf generation?
> 
> <fo:instream-foreign-object>
> <svg:svg width="10cm" height="5cm" xml:space="preserve">
> <svg:pattern id="sbBgPatt" preserveAspectRatio="xMidYMid meet" width="5" 
> height="6" patternUnits="userSpaceOnUse" shape-rendering="optimizeSpeed">
> <svg:rect x="0" y="0" width="5" height="3" fill="rgb(102,204,255)"/>
> <svg:rect x="0" y="3" width="5" height="3" fill="rgb(102,204,255)"/>
> </svg:pattern>
> <svg:rect fill="url(#sbBgPatt)" height="150" width="150" x="100" y="100"/>
> </svg:svg>
> </fo:instream-foreign-object>
> 
> best wishes,
> 
> don
Oscar Schoof | 2 Jan 2003 15:35
Picon
Favicon

Re: zero width space

>
>
>FOP 0.20.4 incorrectly uses a full space width for basically all Unicode space
>characters.
>This is fixed in 0.20.5rc, please upgrade.
>
Ok, i did. And it solved this issue.

Thanks,

Oscar
Fabrizio Tringali | 2 Jan 2003 15:55
Picon

Re: fop.jar with patches

OK, but I need the patched version for "NullPointerException on
Txt-Rendering" bug

Thanks
Fabrizio

From: "Joerg Pietschmann"
> On Thursday 02 January 2003 12:27, Fabrizio Tringali wrote:
> > anybody knows how can I take a fop.jar file with the ultimate patches?
>
> Just download the 0.20.5rc distribution. Currently there aren't
> any relevant new patches.
Joerg Pietschmann | 2 Jan 2003 16:12
Picon
Favicon

Re: fop.jar with patches

On Thursday 02 January 2003 15:55, Fabrizio Tringali wrote:
> OK, but I need the patched version for "NullPointerException on
> Txt-Rendering" bug

Oops!
Go to the mailing list archive, like
  http://marc.theaimsgroup.com
select the FOP cvs list, search the CVS commit diff which fixes the
problem and apply the patch by yourself.

J.Pietschmann

Gmane