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 "Tony BenBrahim (JIRA)" <ji...@apache.org> on 2015/03/05 02:47:38 UTC
[jira] [Created] (BATIK-1112) CSS style Parser does not handle
style names with leading dash
Tony BenBrahim created BATIK-1112:
-------------------------------------
Summary: CSS style Parser does not handle style names with leading dash
Key: BATIK-1112
URL: https://issues.apache.org/jira/browse/BATIK-1112
Project: Batik
Issue Type: Bug
Components: CSS
Affects Versions: 1.7
Reporter: Tony BenBrahim
Priority: Minor
Consider the following fragment:
{code}
<text
id="text8072"
y="15.697294"
x="1.0898001"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:15.67250013px;line-height:125%;font-family:'Arial Unicode MS';-inkscape-font-specification:'Arial Unicode MS, Normal';fill:#ff0000>
{code}
the style Parser stops parsing with an exception when it encounters -inkscape-font-specification, which Inkscape adds to every font declaration and which cannot be removed.The rendered text is then missing any style attribute specified afterwards, such as color, anchor, alignment, etc...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org