A circle is transformed into an elipse even when copy-pasted.

Bug #1512573 reported by paradisaeidae
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

It's understandable that Inkscape simplifies text on curve-circle by mandating an elipse object.
The help suggests that a circle can be created by holding 'control'.
http://www.inkscapeforum.com/viewtopic.php?t=3432
But this just creates a circlular path.
A circle is a circle.
It is one of the fundamental shapes of the universe.
It is the most useful shape for discerning a centre point.
I can save a document with circle in it to get around the default behavior.
But when trying to copy and paste this between documents, the circle is transformed to an elipse.
It would be a major greatness to see a circle as a native shape in Inkscape.
But I'm sure this is considerable work.
Please consider an adjustment to the copy-paste behavior.

Thanks for an amazing piece of work.

Best, MarkT

Revision history for this message
su_v (suv-lp) wrote :

> It's understandable that Inkscape simplifies text on curve-circle
> by mandating an elipse object.

Why would you think that is so? Inkscape does not modify or enforce a circle (constant radius) into an ellipse (with major and minor radii) when text is put on the circle.

> The help suggests that a circle can be created by holding 'control'.

As described in the manual, circles can be drawn with the ellipse/circle tool by pressing 'Ctrl' while dragging the mouse. If the user additionally presses 'Shift', the circle/ellipse will be drawn from center:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Shapes-Arcs.html

> But this just creates a circlular path.
> A circle is a circle.

Which version of Inkscape do you have installed? The circle/ellipse tool of current stable Inkscape 0.91 actually creates basic SVG shapes <circle> and <ellipse> when feasible (closed shapes), whereas older releases (Inkscape <= 0.48) always created them as SVG <path> elements (for arcs, segments as well as full circle/ellipses) with a 'd' attribute for the path data, and the geometric parameters stored in custom attributes.

Please keep in mind that technically, the current SVG 1.1 specification does not allow to put text on basic SVG shapes [1] (one of the main reasons past releases of Inkscape created <path> elements also for closed circles and ellipses, storing the shape-specific parameter in custom attributes). This will change in (future) SVG 2 which will support putting text not only on paths, but on shapes as well [2]; and (future) SVG 2 will also allow text put on closed paths / shapes to wrap around (in SVG 1.1, the text is cut off beyond the start / end nodes).

Side effect of current Inkscape 0.91 creating basic SVG shapes now for closed circle and ellipses: If you put a text on a circle (or ellipse) in Inkscape 0.91, other SVG renderers might refuse to display text put on the shape (if they strictly interpret the document as SVG 1.1).

> But when trying to copy and paste this between documents, the
> circle is transformed to an elipse.

Please add information about OS/platform to the bug description (along with information about Inkscape version currently installed), and attach a test case (Inkscape SVG file with original object; Inkscape SVG file with pasted object which was modified in its geometry on paste) to allow further investigation of the observed problem on other systems and with different versions of Inkscape.

--
[1] The SVG 1.1 feature is called 'Text on a path' and is limited to <path> elements:
http://www.w3.org/TR/SVG11/text.html#TextOnAPath
[2] The ability to place text along a basic shape is new in SVG 2:
https://svgwg.org/svg2-draft/text.html#TextLayoutPath

Changed in inkscape:
status: New → Incomplete
tags: added: clipboard shape-editing
Revision history for this message
paradisaeidae (paradisaeidae) wrote : Re: [Bug 1512573] Re: A circle is transformed into an elipse even when copy-pasted.
Download full text (4.3 KiB)

Thanks suv,
The issue has been seen on the quartz version.
With the most recent version.
Also on Linux, 0.91
I will post more clarification soon.
‎Was not focused on the text wrapping.
Thought it was a reason for the ellipse direction.

MarkT
  Original Message
From: ~suv
Sent: Tuesday, 3 November 2015 19:41
To: <email address hidden>
Reply To: Bug 1512573
Subject: [Bug 1512573] Re: A circle is transformed into an elipse even when copy-pasted.

> It's understandable that Inkscape simplifies text on curve-circle
> by mandating an elipse object.

Why would you think that is so? Inkscape does not modify or enforce a
circle (constant radius) into an ellipse (with major and minor radii)
when text is put on the circle.

> The help suggests that a circle can be created by holding 'control'.

As described in the manual, circles can be drawn with the ellipse/circle tool by pressing 'Ctrl' while dragging the mouse. If the user additionally presses 'Shift', the circle/ellipse will be drawn from center:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Shapes-Arcs.html

> But this just creates a circlular path.
> A circle is a circle.

Which version of Inkscape do you have installed? The circle/ellipse tool
of current stable Inkscape 0.91 actually creates basic SVG shapes
<circle> and <ellipse> when feasible (closed shapes), whereas older
releases (Inkscape <= 0.48) always created them as SVG <path> elements
(for arcs, segments as well as full circle/ellipses) with a 'd'
attribute for the path data, and the geometric parameters stored in
custom attributes.

Please keep in mind that technically, the current SVG 1.1 specification
does not allow to put text on basic SVG shapes [1] (one of the main
reasons past releases of Inkscape created <path> elements also for
closed circles and ellipses, storing the shape-specific parameter in
custom attributes). This will change in (future) SVG 2 which will
support putting text not only on paths, but on shapes as well [2]; and
(future) SVG 2 will also allow text put on closed paths / shapes to wrap
around (in SVG 1.1, the text is cut off beyond the start / end nodes).

Side effect of current Inkscape 0.91 creating basic SVG shapes now for
closed circle and ellipses: If you put a text on a circle (or ellipse)
in Inkscape 0.91, other SVG renderers might refuse to display text put
on the shape (if they strictly interpret the document as SVG 1.1).

> But when trying to copy and paste this between documents, the
> circle is transformed to an elipse.

Please add information about OS/platform to the bug description (along
with information about Inkscape version currently installed), and attach
a test case (Inkscape SVG file with original object; Inkscape SVG file
with pasted object which was modified in its geometry on paste) to allow
further investigation of the observed problem on other systems and with
different versions of Inkscape.

--
[1] The SVG 1.1 feature is called 'Text on a path' and is limited to <path> elements:
http://www.w3.org/TR/SVG11/text.html#TextOnAPath
[2] The ability to place text along a basic shape is new in SVG 2:
https://svgwg.org/svg2-draft/text.html#TextLayoutPath

** Changed in: inkscape
Status:...

Read more...

Revision history for this message
paradisaeidae (paradisaeidae) wrote :

My apologies suv!
Testing has found that expected results are indeed found.

I will reduce my chocolate intake as restitution for this slight.
I can only suspect the flu I had the week before had messed with my
powers of observation.

MarkT

On 11/03/2015 07:34 PM, ~suv wrote:
>> It's understandable that Inkscape simplifies text on curve-circle
>> by mandating an elipse object.

--
MarkTurner
(+61 4) 0679 5734 :: https://plus.google.com/+MarkT :: 'They promised us
flying cars. Instead we got 140 characters.'

Revision history for this message
su_v (suv-lp) wrote :

Closing based on the reporter's feedback.

Feel free to reopen the report in case you encounter the same symptom again (please save a copy of the source file, as well as the target file, and attach both to the report. Also don't forget to include information about OS (including version of the OS), and Inkscape version (either details about the installer used, or the version string from Inkscape menu 'Help > About Inkscape')).

Changed in inkscape:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.