You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Gonzalo Vasquez <gv...@altiuz.cl> on 2014/03/17 22:34:36 UTC

Problems with PostScript and AFP output

Dear FOP Team,

We are currently trying to get the same output from a single FO file. Our PDF document is our "model to follow", but both the PostScript and AFP outputs are having some issues:

- PostScript: images aren't getting rendered
- AFP: Text fields are getting a wrong overlay over them

Please see attached files for example.

Testing is done both in Windows (2012 R2) & Linux (Xubuntu / Wheezy kernel 3.11.0-18), with Apache FOP from the trunk (about 1 month ago).


Any help would be appreciated.

Regards,
Gonzalo V�squez S�ez
Gerente Investigaci�n y Desarrollo (R&D)
Altiuz Soluciones Tecnol�gicas de Negocios Ltda.
Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
+56 2 335 2461
gvasquez@altiuz.cl
http://www.altiuz.cl
http://www.altiuzreports.com
  


Re: Missing images in PostScript output

Posted by Gonzalo Vasquez <gv...@altiuz.cl>.
Well...does help indeed, but doesn't solve the problem, as I'm missing both SVG and JPEG images, which are supported in PostScript :(

Gonzalo Vásquez Sáez
Gerente Investigación y Desarrollo (R&D)
Altiuz Soluciones Tecnológicas de Negocios Ltda.
Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
+56 2 335 2461
gvasquez@altiuz.cl
http://www.altiuz.cl
http://www.altiuzreports.com
  


El 18-03-2014, a las 14:09, A Gian <a....@hotmail.com> escribió:

> Hi Carlos, 
>  this might help you  https://xmlgraphics.apache.org/fop/1.0/graphics.html   (check the section Map of supported image formats by output format ,
> Thanasis
>  
> From: gvasquez@altiuz.cl
> Subject: Missing images in PostScript output
> Date: Tue, 18 Mar 2014 14:02:46 -0300
> To: fop-users@xmlgraphics.apache.org; fop-dev@xmlgraphics.apache.org
> 
> Checking FOP Documentation (https://xmlgraphics.apache.org/fop/1.0/output.html), under the PostScript section I see:
> Limitations
> 
> Images and SVG may not be displayed correctly. SVG support is far from being complete. No image transparency is available.
> Can anyone provide a list of actually supported image formats for PostScript output?
> 
> Gonzalo Vásquez Sáez
> Gerente Investigación y Desarrollo (R&D)
> Altiuz Soluciones Tecnológicas de Negocios Ltda.
> Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
> +56 2 335 2461
> gvasquez@altiuz.cl
> http://www.altiuz.cl
> http://www.altiuzreports.com
>   
> 
> 
> 
> 


RE: Missing images in PostScript output

Posted by A Gian <a....@hotmail.com>.
Hi Carlos, 
 this might help you  https://xmlgraphics.apache.org/fop/1.0/graphics.html   (check the section Map of supported image formats by output format ,
Thanasis
 
From: gvasquez@altiuz.cl
Subject: Missing images in PostScript output
Date: Tue, 18 Mar 2014 14:02:46 -0300
To: fop-users@xmlgraphics.apache.org; fop-dev@xmlgraphics.apache.org

Checking FOP Documentation (https://xmlgraphics.apache.org/fop/1.0/output.html), under the PostScript section I see:LimitationsImages and SVG may not be displayed correctly. SVG support is far from being complete. No image transparency is available.Can anyone provide a list of actually supported image formats for PostScript output?




Gonzalo Vásquez Sáez

Gerente Investigación y Desarrollo (R&D)

Altiuz Soluciones Tecnológicas de Negocios Ltda.

Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099

+56 2 335 2461




gvasquez@altiuz.cl

http://www.altiuz.cl

http://www.altiuzreports.com



  














 		 	   		  

Re: Missing images in PostScript output

Posted by Luis Bernardo <lm...@gmail.com>.
Support is better now than when that was written. Pretty much everything 
that works in PDF works in PostScript now with some minor limitations.

When that was written SVG gradients were not supported in PostScript. 
That has changed and the most common gradients are supported now. 
Transparency is problematic in general but even then the output now is 
pretty close to the PDF output.

See https://issues.apache.org/jira/browse/FOP-2313 for some examples.

On 3/18/14, 5:02 PM, Gonzalo Vasquez wrote:
> Checking FOP Documentation 
> (https://xmlgraphics.apache.org/fop/1.0/output.html 
> <https://app.getsignals.com/link?url=https%3A%2F%2Fxmlgraphics.apache.org%2Ffop%2F1.0%2Foutput.html&ukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDA&k=F3809B35-9459-4744-938F-C66DD13D7EAB>), 
> under the PostScript section I see:
>
>
>       Limitations
>
>  *
>
>     Images and SVG may not be displayed correctly. SVG support is far
>     from being complete. No image transparency is available.
>
> Can anyone provide a list of actually supported image formats for 
> PostScript output?
>
> Gonzalo Vásquez Sáez
> Gerente Investigación y Desarrollo (R&D)
> Altiuz Soluciones Tecnológicas de Negocios Ltda.
> Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
> +56 2 335 2461
> gvasquez@altiuz.cl <ma...@altiuz.cl>
> http://www.altiuz.cl 
> <https://app.getsignals.com/link?url=http%3A%2F%2Fwww.altiuz.cl&ukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDA&k=F29ABEC3-0BC4-43AE-9917-5D96550826D0>
> http://www.altiuzreports.com 
> <https://app.getsignals.com/link?url=http%3A%2F%2Fwww.altiuzreports.com&ukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDA&k=443BAE9C-EC3C-4E1B-9624-29374B231322>
> 	<https://app.getsignals.com/link?url=https%3A%2F%2Fwww.facebook.com%2Faltiuz&ukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDA&k=EB2337CB-8432-4DA4-8DE5-BABAC6B73C09> <https://app.getsignals.com/link?url=http%3A%2F%2Ftwitter.com%2Faltiuz&ukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDA&k=2880CE40-070F-4B29-8EAE-DA375A6AB613> <https://app.getsignals.com/link?url=http%3A%2F%2Fwww.linkedin.com%2Fcompany%2Faltiuz&ukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgIKG17MKDA&k=D7EAF95A-7AE1-4C8D-9AE5-3C395A326CC6>
>
> 	
>
>
>


Missing images in PostScript output

Posted by Gonzalo Vasquez <gv...@altiuz.cl>.
Checking FOP Documentation (https://xmlgraphics.apache.org/fop/1.0/output.html), under the PostScript section I see:
Limitations
Images and SVG may not be displayed correctly. SVG support is far from being complete. No image transparency is available.

Can anyone provide a list of actually supported image formats for PostScript output?

Gonzalo Vásquez Sáez
Gerente Investigación y Desarrollo (R&D)
Altiuz Soluciones Tecnológicas de Negocios Ltda.
Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
+56 2 335 2461
gvasquez@altiuz.cl
http://www.altiuz.cl
http://www.altiuzreports.com
  




Re: Problems with PostScript and AFP output

Posted by Luis Bernardo <lm...@gmail.com>.
The problem must be with the extension. Can you provide an example where 
the image data is in a instream-foreign-object element (instead of 
relying on extension to do that)? Then it will be a lot simpler to 
explain what the problem is.

On 3/18/14, 2:57 PM, Gonzalo Vasquez wrote:
> Dear Luis,
>
> Images / barcodes are inserted in the xsl-fo using an extension we 
> designed to allow caching and embedding them as base64 data. Perhaps 
> the PostScript output is not extension compatible?
>
> Please see attached fo file, and image extension + java sources.
>
> Regards,
> Gonzalo Vásquez Sáez
> Gerente Investigación y Desarrollo (R&D)
> Altiuz Soluciones Tecnológicas de Negocios Ltda.
> Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
> +56 2 335 2461
> gvasquez@altiuz.cl <ma...@altiuz.cl>
> http://www.altiuz.cl
> http://www.altiuzreports.com
> 	<https://www.facebook.com/altiuz> <http://twitter.com/altiuz> 
> <http://www.linkedin.com/company/altiuz>
>
> 	
>
>
> El 17-03-2014, a las 20:07, Luis Bernardo <lmpmbernardo@gmail.com 
> <ma...@gmail.com>> escribió:
>
>>
>> There are no images embedded in the PostScript file you sent. Either 
>> you got an error during generation or we need the sources to see what 
>> the issue is.
>>
>>
>> On 3/17/14, 9:34 PM, Gonzalo Vasquez wrote:
>>> Dear FOP Team,
>>>
>>> We are currently trying to get the same output from a single FO 
>>> file. Our PDF document is our "model to follow", but both the 
>>> PostScript and AFP outputs are having some issues:
>>>
>>> - PostScript: images aren't getting rendered
>>> - AFP: Text fields are getting a wrong overlay over them
>>>
>>> Please see attached files for example.
>>>
>>> Testing is done both in Windows (2012 R2) & Linux (Xubuntu / Wheezy 
>>> kernel 3.11.0-18), with Apache FOP from the trunk (about 1 month ago).
>>>
>>>
>>> Any help would be appreciated.
>>>
>>> Regards,
>>> Gonzalo Vásquez Sáez
>>> Gerente Investigación y Desarrollo (R&D)
>>> Altiuz Soluciones Tecnológicas de Negocios Ltda.
>>> Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
>>> +56 2 335 2461
>>> gvasquez@altiuz.cl <ma...@altiuz.cl>
>>> http://www.altiuz.cl <http://www.altiuz.cl/>
>>> http://www.altiuzreports.com <http://www.altiuzreports.com/>
>>> 	<https://www.facebook.com/altiuz> <http://twitter.com/altiuz> 
>>> <http://www.linkedin.com/company/altiuz>
>>>
>>> 	
>>>
>>>
>>
> =
>
>
>
>
>
>


Re: Problems with PostScript and AFP output

Posted by Gonzalo Vasquez <gv...@altiuz.cl>.
Dear Luis,

Images / barcodes are inserted in the xsl-fo using an extension we designed to allow caching and embedding them as base64 data. Perhaps the PostScript output is not extension compatible? 

Please see attached fo file, and image extension + java sources.

Regards,
Gonzalo Vásquez Sáez
Gerente Investigación y Desarrollo (R&D)
Altiuz Soluciones Tecnológicas de Negocios Ltda.
Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
+56 2 335 2461
gvasquez@altiuz.cl
http://www.altiuz.cl
http://www.altiuzreports.com
  


El 17-03-2014, a las 20:07, Luis Bernardo <lm...@gmail.com> escribió:

> 
> There are no images embedded in the PostScript file you sent. Either you got an error during generation or we need the sources to see what the issue is.
> 
> 
> On 3/17/14, 9:34 PM, Gonzalo Vasquez wrote:
>> Dear FOP Team,
>> 
>> We are currently trying to get the same output from a single FO file. Our PDF document is our "model to follow", but both the PostScript and AFP outputs are having some issues:
>> 
>> - PostScript: images aren't getting rendered
>> - AFP: Text fields are getting a wrong overlay over them
>> 
>> Please see attached files for example.
>> 
>> Testing is done both in Windows (2012 R2) & Linux (Xubuntu / Wheezy kernel 3.11.0-18), with Apache FOP from the trunk (about 1 month ago).
>> 
>> 
>> Any help would be appreciated.
>> 
>> Regards,
>> Gonzalo Vásquez Sáez
>> Gerente Investigación y Desarrollo (R&D)
>> Altiuz Soluciones Tecnológicas de Negocios Ltda.
>> Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
>> +56 2 335 2461
>> gvasquez@altiuz.cl
>> http://www.altiuz.cl
>> http://www.altiuzreports.com
>>   	
>> 
> 

Missing images in PostScript output

Posted by Gonzalo Vasquez <gv...@altiuz.cl>.
Checking FOP Documentation (https://xmlgraphics.apache.org/fop/1.0/output.html), under the PostScript section I see:
Limitations
Images and SVG may not be displayed correctly. SVG support is far from being complete. No image transparency is available.

Can anyone provide a list of actually supported image formats for PostScript output?

Gonzalo Vásquez Sáez
Gerente Investigación y Desarrollo (R&D)
Altiuz Soluciones Tecnológicas de Negocios Ltda.
Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
+56 2 335 2461
gvasquez@altiuz.cl
http://www.altiuz.cl
http://www.altiuzreports.com
  




Re: Problems with PostScript and AFP output

Posted by Luis Bernardo <lm...@gmail.com>.
There are no images embedded in the PostScript file you sent. Either you 
got an error during generation or we need the sources to see what the 
issue is.


On 3/17/14, 9:34 PM, Gonzalo Vasquez wrote:
> Dear FOP Team,
>
> We are currently trying to get the same output from a single FO file. 
> Our PDF document is our "model to follow", but both the PostScript and 
> AFP outputs are having some issues:
>
> - PostScript: images aren't getting rendered
> - AFP: Text fields are getting a wrong overlay over them
>
> Please see attached files for example.
>
> Testing is done both in Windows (2012 R2) & Linux (Xubuntu / Wheezy 
> kernel 3.11.0-18), with Apache FOP from the trunk (about 1 month ago).
>
>
> Any help would be appreciated.
>
> Regards,
> Gonzalo Vásquez Sáez
> Gerente Investigación y Desarrollo (R&D)
> Altiuz Soluciones Tecnológicas de Negocios Ltda.
> Av. Nueva Tajamar 555 Of. 802, Las Condes - CP 7550099
> +56 2 335 2461
> gvasquez@altiuz.cl <ma...@altiuz.cl>
> http://www.altiuz.cl
> http://www.altiuzreports.com
> 	<https://www.facebook.com/altiuz> <http://twitter.com/altiuz> 
> <http://www.linkedin.com/company/altiuz>
>
> 	
>
>
>
>
>
>
>