You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by olivier <ol...@wanadoo.be> on 2002/08/20 17:59:19 UTC

layout questions

hi all,

I thought about those questions because I need to use FOP the best way i can 
( for sure ;) ) but also because, as a visual renderer, there is great 
chance for people to really need these importants features to be implemented 
or optimised in FOP.

First of all, I'd like to know a bit more about FOP's BMPRenderer.
In fact I encounter troubles while rendering BMPs with FOP (PDF output).
They seem to be automatically downsampled (their quality is really bad), or 
something like that. Is there anybody that could give me a way to search ?

Another question of mine could be : Is there a chance for the keep.* 
properties to be implemented soon ? If it is, is there a way I could (try 
to) help.

Finally, i've tried to import some BMPs as <fo:external-graphic> and it was 
always giving me an ArrayIndexOutOfBounds Exception.
These BMPs where edited with PhotoShop. If I pre-edit them with windows's 
paint, there's no problem at all. Does anyone know something about this ?


Thanks in advance.

Re: layout questions

Posted by Keiron Liddle <ke...@aftexsw.com>.
On Tue, 2002-08-20 at 17:59, olivier wrote:
> hi all,
> 
> I thought about those questions because I need to use FOP the best way i can 
> ( for sure ;) ) but also because, as a visual renderer, there is great 
> chance for people to really need these importants features to be implemented 
> or optimised in FOP.
> 
> First of all, I'd like to know a bit more about FOP's BMPRenderer.
> In fact I encounter troubles while rendering BMPs with FOP (PDF output).
> They seem to be automatically downsampled (their quality is really bad), or 
> something like that. Is there anybody that could give me a way to search ?

As already mentioned you need to set the size of the image.
I think for printing it works best to have the image 3 times larger than
the printed size.

> Another question of mine could be : Is there a chance for the keep.* 
> properties to be implemented soon ? If it is, is there a way I could (try 
> to) help.

Help is always welcome.
It is hard to suggest anything specific which such as broad and involved
topic as keeps.



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: layout questions

Posted by "J.Pietschmann" <j3...@yahoo.de>.
olivier wrote:
> In fact I encounter troubles while rendering BMPs with FOP (PDF output).
> They seem to be automatically downsampled (their quality is really bad), or
> something like that. Is there anybody that could give me a way to search ?

Unless you specify height and/or width on the
fo:external-graphic element, the image is rendered
at a resolution of 72dpi. This will look bad on
most printers. I'm not aware of any resampling
of any image, but you can easily check for
yourself in the FOP source.

> Another question of mine could be : Is there a chance for the keep.*
> properties to be implemented soon ? If it is, is there a way I could (try
> to) help.
keep-with-* already works on table rows. You can
take advantage of this by putting stuff you want
to have kept together in a blind table.
The redesign where keeps are expected to be fully
implemented will still take a while.

> Finally, i've tried to import some BMPs as <fo:external-graphic> and it was
> always giving me an ArrayIndexOutOfBounds Exception.
> These BMPs where edited with PhotoShop. If I pre-edit them with windows's
> paint, there's no problem at all. Does anyone know something about this ?

This sounds like a known bug. Check bugzilla:
  http://nagoya.apache.org/bugzilla/
whether there is already an open bug, if not,
opoen one and append a *small* BMP which causes
such a problem.

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org