Center text in a circle

Bug #1753534 reported by Alfredo Monclús
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

Centering text on a circle seems broken.

Steps to reproduce:
1.Draw a circle
2.Create some text that is aligned left (default)
3.Set text to the circle path
4.Select the text and hit center alignment.

Text gets cut out.
Expected behaviour text wrapping around the circle

This can be done in a non intuitive manner, a workaround:
1.Draw a circle
2.Create some text and align it CENTER
3.Set text to the circle path

Text will be wrapping around the circle but 90 degrees left
to start from the top rotate the circle 90 degrees right.

Problem: it should not matter if you click center before or after the text is in the path, it should work regardless.

Inkscape 0.92.2

description: updated
Revision history for this message
Brynn (brynn4inks-deactivatedaccount) wrote :

I can reproduce this in Inkscape 0.92.2, on Windows 7 Pro, 64-bit

Attached SVG file with the results.

Video: https://inkscapecommunity.com/jd/vids/top-center.mp4

Revision history for this message
TylerDurden (8thrule) wrote :

Maybe you have seen this:

"There are two competing camps for how angles should be defined. Fortunately for the peace, Inkscape supports both through the Compass-like display of angles option under the Steps tab in the Inkscape Preferences dialog (File → icon Inkscape Preferences... (Shift+Ctrl+P))."

http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Coordinates.html

Screenshot attached.

TD

Revision history for this message
Alfredo Monclús (alfredomonclus) wrote :

You are missing the main point here, let me rephrase:

If you center the text BEFORE it's applied to the path, it works.
If you center the text AFTER it's applied to the path, it doesn't.

Revision history for this message
TylerDurden (8thrule) wrote :

This is the same for text on any path.

Changing the text anchorpoint (L,C,R) changes the text relationship to the anchor.

The effect snaps the text anchor point to a path endpoint or centerpoint, and chooses which, based on the position of the text anchor point.

Centering text after the effect is applied, still simply changes the text relationship to its own anchor. It has no idea it's part of an effect essentially downstream of its own style info.

Screen capture:
https://www.dropbox.com/s/nmiw3ub0hv3semp/2018-03-06_22-00-50.gif?dl=0

Regards,
TD

tags: added: bug-migration
Revision history for this message
grey tomorrow (gtomorrow) wrote :

Hi - thanks for reporting this bug, I've manually migrated it to Inkscape's new bug tracker on GitLab, and closed it here.

Please feel free to file new bugs about the issues you're seeing at
https://inkscape.org/report .

Moved to: https://gitlab.com/inkscape/inbox/issues/3571
Closed by: https://gitlab.com/greytomorrow

Changed in inkscape:
status: New → 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.