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

"Abdul Vazid (JIRA)" <[email protected]> Thu, 13 Jun 2019 17:42:00 +0000 (UTC)
Newsgroups gmane.text.xml.batik.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/BATIK-1264?page=3Dcom.atlassia=
n.jira.plugin.system.issuetabpanels:all-tabpanel ]

Abdul Vazid updated BATIK-1264:
-------------------------------
    Description:=20
I am upgrading batik-1.7 to 1.11 and fop-0.93 to 2.2. I am using PDFTransco=
der of fop to convert SVG to PDF in my application. stroke-opacity is appli=
ed to text in svg. Before upgrading pdf looks good and result is as expecte=
d 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 =3D new PDFTranscoder();=20
TranscoderInput input =3D new TranscoderInput(svgFile.toURI().toString());=
=20
ByteArrayOutputStream outStream =3D new ByteArrayOutputStream();=20
TranscoderOutput output =3D new TranscoderOutput(outStream);=20
transcoder.transcode(input, output);

=C2=A0

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

Below is the code used to convert svg to pdf:

=C2=A0


> stroke-opacity specified for text in svg is not being applied to the gene=
rated 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 PDFTrans=
coder of fop to convert SVG to PDF in my application. stroke-opacity is app=
lied to text in svg. Before upgrading pdf looks good and result is as expec=
ted with opacity. But after upgrading stroke-opacity is not being applied t=
o text.
> Below is the code used to convert svg to pdf:
> Transcoder transcoder =3D new PDFTranscoder();=20
> TranscoderInput input =3D new TranscoderInput(svgFile.toURI().toString())=
;=20
> ByteArrayOutputStream outStream =3D new ByteArrayOutputStream();=20
> TranscoderOutput output =3D new TranscoderOutput(outStream);=20
> transcoder.transcode(input, output);
> =C2=A0



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