Author: sashagim
Description:
In SVG files created by Visio 2003 the width/height of the image are specified
in inches, and the values are specified in floating numbers. The function
wfScaleSVGUnit on the other hand, which is responsible for translating the
width/height strings which appear in the SVG file (and may be of various units)
doesn't support floating numbers. It therefore assumes that the values are in
pixels, thus returning an invalid value (usually extremely small - few pixels).
The fix is to replace the regular expression which is used by wfScaleSVGUnit on
line 1663 to '/^(\\d+\\.*\\d*)\\s*(em|ex|px|pt|pc|cm|mm|in|%|)$/'
Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC