A question about text on path

General discussions about Inkscape.
User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

A question about text on path

Postby Espermaschine » Sat May 28, 2016 5:05 pm

I know how this works since my Gimp days, but there is one aspect i dont quite understand:
when i put the text on a circle and then flip the path, the text position is changed to the inside of the circle.
Its like the path has been turned inside out.

I know that paths have a direction, but this behaviour seems different.

Can somebody explain what the logic behind that is, please ?
.
Attachments
ToP.png
ToP.png (47.41 KiB) Viewed 3456 times

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: A question about text on path

Postby Lazur » Sat May 28, 2016 8:33 pm

Probably one of the nodes is handled as a start-end node. Most likely the left one.
By flipping horizontally it changes from left to tight.


Hmm by second glance the bottom node is double, maybe that is the start-end node?
By flipping vertically the length of the path for the text positioning is calculated as if not just the direction change.

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: A question about text on path

Postby Espermaschine » Sat May 28, 2016 8:54 pm

Lazur URH wrote:Hmm by second glance the bottom node is double, maybe that is the start-end node?
By flipping vertically the length of the path for the text positioning is calculated as if not just the direction change.

Yeah, its a habit of mine: i split the node and change the alignment of the text to centered.

Im not sure i understand.
When i flip a circle, the top becomes the bottom. Not the outside becomes the inside.
.
Attachments
rect4170.png
rect4170.png (25.22 KiB) Viewed 3433 times

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: A question about text on path

Postby Lazur » Sat May 28, 2016 10:05 pm

Looks straightforward for me.

svg example

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: A question about text on path

Postby Espermaschine » Sat May 28, 2016 10:21 pm

Lazur URH wrote:Looks straightforward for me.

svg example

I dont get it.

So 'pattern along a path' and 'text on a path' are the same thing, except that 'text on a path' preserves its text properties for editing purposes, right ?
Your example still dont helps me understand why the text gets to the inside of the path, instead of going from top to bottom...

Does a path have an inside and an outside ? And flipping reverses that ?

Instead i would expect this behaviour:
.
Attachments
expectations.png
expectations.png (26.12 KiB) Viewed 3417 times

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: A question about text on path

Postby Lazur » Sat May 28, 2016 10:42 pm

Paths have start/end or a direction which implies two sides. If it was a river, the text is written on the left shore.

Getting to those results in your example above can be achieved if the object is grouped and the group is flipped instead of the path.
Preserving live editability and getting to "reversed" text is maybe not a common need.

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: A question about text on path

Postby Espermaschine » Sat May 28, 2016 10:51 pm

Yeah but flipping a path does a) instead of b)....
.
Attachments
AorB.png
AorB.png (67.06 KiB) Viewed 3406 times

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: A question about text on path

Postby Lazur » Sat May 28, 2016 10:57 pm

It is intentional.

For b), you need grouping.

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: A question about text on path

Postby Espermaschine » Sat May 28, 2016 11:09 pm

*scratches head*
something about that doesnt click for me...

flipping a path is turning it inside out, thats like space-time warping....*argh*

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: A question about text on path

Postby Moini » Sat May 28, 2016 11:52 pm

Esper, when you flip the path, you change its direction. Clockwise to counter-clockwise or the other way around.

As the text position depends on the path direction, it will be on the other side of the path afterwards. Try it out with the directional path markers switched on in the node tool (node tool preferences).
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: A question about text on path

Postby Espermaschine » Sun May 29, 2016 12:00 am

Moini wrote:Esper, when you flip the path, you change its direction. Clockwise to counter-clockwise or the other way around.

As the text position depends on the path direction, it will be on the other side of the path afterwards. Try it out with the directional path markers switched on in the node tool (node tool preferences).

I did as you can see in the first screenshot.
That doesnt explain how the outside gets to the inside.

I guess it has something to do with a path being a mathematical formula.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: A question about text on path

Postby Lazur » Sun May 29, 2016 12:28 am

Lazur URH wrote:Paths have start/end or a direction which implies two sides. If it was a river, the text is written on the left shore.


http://www.sciencecourseware.org/VirtualRiver/Files/page04a.html.

By flipping/reversing directions the left/right sides change.
Text is not assigned to the inside/outside of a shape but to the left side of the path.

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: A question about text on path

Postby Espermaschine » Sun May 29, 2016 12:53 am

Lazur URH wrote:
Lazur URH wrote:Paths have start/end or a direction which implies two sides. If it was a river, the text is written on the left shore.


http://www.sciencecourseware.org/VirtualRiver/Files/page04a.html.

By flipping/reversing directions the left/right sides change.
Text is not assigned to the inside/outside of a shape but to the left side of the path.

I think i get it. But i find it very weird.

jblhy
Posts: 1
Joined: Fri Nov 04, 2016 3:07 pm

Re: A question about text on path

Postby jblhy » Fri Nov 04, 2016 3:13 pm

Just wonder how you can get the text on the outside bottom of the circle (from left to right), I don't seem to be able to make it happen.


Return to “General Discussions”