You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Abdul Vazid (JIRA)" <ji...@apache.org> on 2019/06/13 17:42:00 UTC

[jira] [Updated] (BATIK-1264) stroke-opacity specified for text in svg is not being applied to the generated pdf using fop

     [ https://issues.apache.org/jira/browse/BATIK-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Abdul Vazid updated BATIK-1264:
-------------------------------
    Description: 
I am upgrading batik-1.7 to 1.11 and fop-0.93 to 2.2. I am using PDFTranscoder of fop to convert SVG to PDF in my application. stroke-opacity is applied to text in svg. Before upgrading pdf looks good and result is as expected with opacity. But after upgrading stroke-opacity is not being applied to text.

Below is the code used to convert svg to pdf:

Transcoder transcoder = new PDFTranscoder(); 
TranscoderInput input = new TranscoderInput(svgFile.toURI().toString()); 
ByteArrayOutputStream outStream = new ByteArrayOutputStream(); 
TranscoderOutput output = new TranscoderOutput(outStream); 
transcoder.transcode(input, output);

 

  was:
I am upgrading batik-1.7 to 1.11 and fop-0.93 to 2.2. I am using PDFTranscoder of fop to convert SVG to PDF in my application. stroke-opacity is applied to text in svg. Before upgrading pdf looks good and result is as expected with opacity. But after upgrading stroke-opacity is not being applied to text.

Below is the code used to convert svg to pdf:

 


> stroke-opacity specified for text in svg is not being applied to the generated pdf using fop
> --------------------------------------------------------------------------------------------
>
>                 Key: BATIK-1264
>                 URL: https://issues.apache.org/jira/browse/BATIK-1264
>             Project: Batik
>          Issue Type: Bug
>            Reporter: Abdul Vazid
>            Priority: Major
>
> I am upgrading batik-1.7 to 1.11 and fop-0.93 to 2.2. I am using PDFTranscoder of fop to convert SVG to PDF in my application. stroke-opacity is applied to text in svg. Before upgrading pdf looks good and result is as expected with opacity. But after upgrading stroke-opacity is not being applied to text.
> Below is the code used to convert svg to pdf:
> Transcoder transcoder = new PDFTranscoder(); 
> TranscoderInput input = new TranscoderInput(svgFile.toURI().toString()); 
> ByteArrayOutputStream outStream = new ByteArrayOutputStream(); 
> TranscoderOutput output = new TranscoderOutput(outStream); 
> transcoder.transcode(input, output);
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org