summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkitfox2010-03-16 18:53:01 +0100
committerkitfox2010-03-16 18:53:01 +0100
commitab82832e8bbb5d6dc32b189b209b616aaeb2aaa8 (patch)
tree1f99e28dd6aae05e6998be8d43da1bf20af92db7
parentFixed bug where chained 'move' path commands were not switching to 'line' aft... (diff)
downloadsvg-salamander-core-ab82832e8bbb5d6dc32b189b209b616aaeb2aaa8.tar.gz
svg-salamander-core-ab82832e8bbb5d6dc32b189b209b616aaeb2aaa8.tar.xz
svg-salamander-core-ab82832e8bbb5d6dc32b189b209b616aaeb2aaa8.zip
Added "px|em|ex" to XMLParseUtil.
git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@72 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b
-rw-r--r--src/main/java/com/kitfox/svg/xml/XMLParseUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/kitfox/svg/xml/XMLParseUtil.java b/src/main/java/com/kitfox/svg/xml/XMLParseUtil.java
index 8763e3c..2bc0c54 100644
--- a/src/main/java/com/kitfox/svg/xml/XMLParseUtil.java
+++ b/src/main/java/com/kitfox/svg/xml/XMLParseUtil.java
@@ -40,7 +40,7 @@ import java.lang.reflect.*;
*/
public class XMLParseUtil
{
- static final Matcher fpMatch = Pattern.compile("([-+]?((\\d*\\.\\d+)|(\\d+))([eE][+-]?\\d+)?)(\\%|in|cm|mm|pt|pc)?").matcher("");
+ static final Matcher fpMatch = Pattern.compile("([-+]?((\\d*\\.\\d+)|(\\d+))([eE][+-]?\\d+)?)(\\%|in|cm|mm|pt|pc|px|em|ex)?").matcher("");
static final Matcher intMatch = Pattern.compile("[-+]?\\d+").matcher("");
/** Creates a new instance of XMLParseUtil */