How to fix image degradation in FOP-generated PDF

2005-01-13 Thread Smilgiewicz, Gene [CPB]
Using fop-0.20.5 on a Sun/Solaris box, I am able to generate a PDF containing graphics referenced by the fo:external-graphic tag. The PDF gets generated (sloowly) but the GIF and JPG images look dithered, not nearly as sharp a the source images. Images degrade when they are the exact

Re: How to fix image degradation in FOP-generated PDF

2005-01-13 Thread Jeremias Maerki
Three points: - FOP 0.20.5 ignores the content-width|height properties. See here: http://xml.apache.org/fop/compliance.html#fo-property-content-height - FOP embeds the image loaded by an external-graphic element as is. There's no scaling or rebuilding of the image involved. However, your

RE: Declaring an entity for FOP to see

2005-01-13 Thread Pascal Sancho
Hi, I think that the public declaration is missing in you !DOCTYPE The right syntax should be: !DOCTYPE root_element PUBLIC DTD_name DTD_URI [ your own entities here ] Pascal -Message d'origine- De : Luke Shannon [mailto:[EMAIL PROTECTED] Envoyé : mercredi 12 janvier 2005 23:34

Alignement problems in table with no borders

2005-01-13 Thread Foucault, Sebastien
Hello, Here is the problem I have to deal with. Using FOP 0.20.5 on the following FO file, I got sometimes wrong alignements. It seems that these wrong alignements depend on the data present in each cell of the table. My questions are the following : Is this problem known ? How to overcome it ?

Re: [Fwd: TiffRenderer Anomaly]

2005-01-13 Thread Oleg Tkachenko
Hello! My target viewers were Photoshop and Alternatiff. That's a problem with TIFF viewers basically. For Windows viewers you need to swap some constants for black and white colors in sources. I do remember I tried that, but forgot to make it parametrized :( It's probably these lines in

RE: Scaled background-image?

2005-01-13 Thread Sönke Ruempler
J.Pietschmann wrote on Wednesday, January 12, 2005 10:55 PM: Sönke Ruempler wrote: is it possible to scale a background-image with FO/FOP? I want to use a higher resolution background image as table cell background. Maybe someone knows a workaround / solution for that ;-) There is no easy

Trouble Shooting Tables

2005-01-13 Thread Luke Shannon
I have several complex layouts that are table based. Right now a few on them don't produce the desired output. There are no errors. I can only assume that there are problems in my table structure. Are there any tricks or tips anyone can offer for working through table related issues? Thanks,

Re: [Fwd: TiffRenderer Anomaly]

2005-01-13 Thread Bill Jordan
Hi - thanks very much for the suggestion, and congratulations on a great product. Unfortunately, when I made the suggested change, it had no effect on the output, which seems puzzling to me. I'm certain that the change was executed, because I set a breakpoint in the code and stepped through

Table Cell Question

2005-01-13 Thread Luke Shannon
Sorry if it seems I am flooding the list with questions. I am new to this technology and trying to meet a deadline on a project . Any help is appreciated: I have this table: xsl:template name=s6_pdf fo:flow flow-name=xsl-region-body fo:block fo:table table-layout=fixed width=100%

Re: Declaring an entity for FOP to see

2005-01-13 Thread J.Pietschmann
Web Maestro Clay wrote: I suspect it's because you've begin the ENTITY declaration with '!DOCTYPE xsl:stylesheet [...' I think you should be able to do this: ?xml version=1.0? !DOCTYPE stylesheet [ !ENTITY nbsp '#160;' ] DOCTYPE declarations and DTDs are not aware of namespaces. Elements names

Re: Table Cell Question

2005-01-13 Thread J.Pietschmann
Luke Shannon wrote: The second block in the second row is not getting written out. Even if I make it the only block of that cell, nothing gets written out. Guess: The call-template doesn't produce anything. Generate a FO file http://xml.apache.org/fop/running.html#check-input and check whether

Re: Declaring an entity for FOP to see

2005-01-13 Thread J.Pietschmann
Pascal Sancho wrote: I think that the public declaration is missing in you !DOCTYPE The right syntax should be: !DOCTYPE root_element PUBLIC DTD_name DTD_URI [ your own entities here ] The external ID part of the DOCTYPE decl may be omitted if there is a declaration of an internal subset.

Re: Table Cell Question

2005-01-13 Thread Luke Shannon
I have verified that the template is producing an output. As a test I put putting a much short value in the place of the longer one I was trying to write. This works. It just won't produce an output of the longer value. Any ideas? Thanks, Luke - Original Message - From: J.Pietschmann

Re: Table Cell Question

2005-01-13 Thread Luke Shannon
I may have found the problem. The inputs causing problem are coming in from IE. When the user inputs data from IE it is done in a text tool that surrounds paragraphs in p tags. It seems the content being sent in the block is in HTML tags. If I take the pages out this are fine. Anyone know an

Re: How to fix image degradation in FOP-generated PDF

2005-01-13 Thread A.R. (Tom) Peters
On Wed, 12 Jan 2005, Smilgiewicz, Gene [CPB] wrote: Using fop-0.20.5 on a Sun/Solaris box, I am able to generate a PDF containing graphics referenced by the fo:external-graphic tag. The PDF gets generated (sloowly) but the GIF and JPG images look dithered, not nearly as sharp a the