[
https://issues.apache.org/jira/browse/BATIK-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Przemysław Boryka updated BATIK-1241:
-------------------------------------
Description:
During processing svg document by pdf transcoder I get failure:
The attribute "transform" of the element <text> is invalid
The document which I try to process has <text> elements inside. Those elements
contains transform attribute. Example below:
<text class="c3-axis-x-label" transform="none" style="text-anchor:
middle;font-size: 0.6rem;" x="243.546875" dx="0" dy="3em"/>
The problem is, that Chrome web browser processing such as document, remove
"none" word by empty string. In that specyfic case transcoder works perfectly.
We got pdf document with proper svg content. But when I use Microsoft Edge web
browser, which processes svg content differently than Chrome, we got <text>
element with transform="none" attribute. In this case, transcoder throws
exception.
I have made some test that revealed some problem with transcoder. When I remove
only "none" word (transform=""), everything is good.
I have used:
Microsoft Edge 42.17134.1.0
Chrome: 69.0.3497.100
org.apache.xmlgraphics:batik-transcoder:1.10
was:
During processing svg document by pdf transcoder I get failure:
The attribute "transform" of the element <text> is invalid
The document which I try to process has <text> elements inside. Those elements
contains transform attribute. Example below:
<text class="c3-axis-x-label" transform="none" style="text-anchor:
middle;font-size: 0.6rem;" x="243.546875" dx="0" dy="3em"/>
The problem is, that Chrome web browser processing such as document, remove
"none" word by empty string. In that specyfic case transcoder works perfectly.
We got pdf document with proper svg content. But when I use Microsoft Edge web
browser, which processes svg content differently than Chrome, we got <text>
element with transform="none" attribute. In this case, transcoder throws
exception.
I have made some test that revealed some problem with transcoder. When I remove
only "none" word (transform=""), everything is good.
> Transcoder failed when transforming svg to pdf
> ----------------------------------------------
>
> Key: BATIK-1241
> URL: https://issues.apache.org/jira/browse/BATIK-1241
> Project: Batik
> Issue Type: Bug
> Components: SVG Rasterizer
> Affects Versions: 1.10
> Reporter: Przemysław Boryka
> Priority: Major
>
>
> During processing svg document by pdf transcoder I get failure:
> The attribute "transform" of the element <text> is invalid
> The document which I try to process has <text> elements inside. Those
> elements contains transform attribute. Example below:
> <text class="c3-axis-x-label" transform="none" style="text-anchor:
> middle;font-size: 0.6rem;" x="243.546875" dx="0" dy="3em"/>
> The problem is, that Chrome web browser processing such as document, remove
> "none" word by empty string. In that specyfic case transcoder works
> perfectly. We got pdf document with proper svg content. But when I use
> Microsoft Edge web browser, which processes svg content differently than
> Chrome, we got <text> element with transform="none" attribute. In this case,
> transcoder throws exception.
> I have made some test that revealed some problem with transcoder. When I
> remove only "none" word (transform=""), everything is good.
>
> I have used:
> Microsoft Edge 42.17134.1.0
> Chrome: 69.0.3497.100
> org.apache.xmlgraphics:batik-transcoder:1.10
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]