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
Text underline/overline/linethrough should ignore charSpacing at the end of text line. When charSpacing is set to something other than 0 it becomes visible that the decoration line goes over/comes short of text line's end (see Test Case fiddle). A fix would be to just correct ctx.fillRect's width for that amount (see Expected Behavior fiddle, see also PR #5007).
Text underline/overline/linethrough should ignore
charSpacing
at the end of text line. WhencharSpacing
is set to something other than 0 it becomes visible that the decoration line goes over/comes short of text line's end (see Test Case fiddle). A fix would be to just correctctx.fillRect
'swidth
for that amount (see Expected Behavior fiddle, see also PR #5007).Version
2.3.0
Test Case
http://jsfiddle.net/3hy0h6on/2/
Expected Behavior
http://jsfiddle.net/voe5dmaq/3/ (
fabric.Text.prototype._renderTextDecoration
overridden)The text was updated successfully, but these errors were encountered: