svgbob icon indicating copy to clipboard operation
svgbob copied to clipboard

Output includes an extra line

Open yvt opened this issue 4 years ago • 1 comments
trafficstars

The output height is unexpectedly large as if it includes an extra blank line.

Expected:

Screenshot from 2021-07-23 17-19-01

Actual:

Screenshot from 2021-07-23 17-19-11

(Taken on https://ivanceras.github.io/svgbob-editor/ with border: 1px solid red added to the svg element)

yvt avatar Jul 23 '21 08:07 yvt

The resulting svg is hardcoded to be padded with 1 character width/height on all 4 sides. This should probably be passed as margin in Settings.

ivanceras avatar Jul 23 '21 13:07 ivanceras