You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fabric.Object.NUM_FRACTION_DIGITS = *;
Does not apply to all Coordinates in generated SVG.
An IText Object loses precision on the level of character distances.
Is there another way to specifiy the fraction precision for Characters?
Generally it is not a big problem, but the precision could be higher.
Precision of Character positions is is high as fabric.Object.NUM_FRACTION_DIGITS
Actual Behavior
Precision for Characters is always 2.
Higher precision could mean less difference between the browsers, when gernerating the svg.
Examples below (only the frist 3 characters)
Version
1.7.14 and 1.7.20
(tested)
Problem Description
fabric.Object.NUM_FRACTION_DIGITS = *;
Does not apply to all Coordinates in generated SVG.
An IText Object loses precision on the level of character distances.
Is there another way to specifiy the fraction precision for Characters?
Generally it is not a big problem, but the precision could be higher.
JSFIDDLE
https://jsfiddle.net/u7z36378/7/
Steps to reproduce
Click toSVG button?
Expected Behavior
Precision of Character positions is is high as fabric.Object.NUM_FRACTION_DIGITS
Actual Behavior
Precision for Characters is always 2.
Higher precision could mean less difference between the browsers, when gernerating the svg.
Examples below (only the frist 3 characters)
Output Chrome:
Output Firefox:
The different coordinates can be seen in the translate of the groups, as well as the position of some Characters.
Frist wrongly created in https://github.com/kangax/fabricjs.com/issues/203
The text was updated successfully, but these errors were encountered: