What's the most efficient way to fit text in a shape like this?

Post questions on how to use or achieve an effect in Inkscape.
sysrpl
Posts: 6
Joined: Wed Sep 28, 2016 9:34 am

What's the most efficient way to fit text in a shape like this?

Postby sysrpl » Wed Sep 28, 2016 9:44 am

What is the most efficient way to fit text such as "Four Chairs" in this image using Inkscape?

Image

I tried the technique using "Text -> Object To Path -> Path Effects -> Envelope Distortion", but moving edges or points distorts the image in a way incompatible with the example I posted.

In the end I found scaling a shape along the "y-axis" and using it as a guide to reposition individual nodes in the text path worked to create the effect I was looking for, but it was time consuming and repetitive. This process itself it very reproducible and could turned into an algorithm in my opinion. This leads to my original question, is there automated way to recreate this effect in Inkscape?
Last edited by sysrpl on Wed Sep 28, 2016 11:46 am, edited 1 time in total.

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

Re: What's the most efficient way to fit text in a shape like this?

Postby Lazur » Wed Sep 28, 2016 10:21 am


sysrpl
Posts: 6
Joined: Wed Sep 28, 2016 9:34 am

Re: What's the most efficient way to fit text in a shape like this?

Postby sysrpl » Wed Sep 28, 2016 10:52 am

The links you posted are of the technique I tried originally, and that was "Text -> Object To Path -> Path Effects -> Envelope Distortion". The problem with Envelope Distortion distortion is that it bulges or pinches on both the x and y axis, where as in my example I only want to distort on the vertical axis.

If and when Envelope Distortion is applied and the bottom bend path is adjusted in the "y-axis" direction, path nodes with will inevitably warp on the "x-axis" as well, albeit subtly in some cases. I see no way to suppress this undesirable side effect. Users can compensate by readjusting individual nodes after the effect has applied, but this is more cumbersome than the technique I settled on.

Image

Notice how when using the Envelope Distortion only on the bottom path, the letters in the above screen capture are also curving along vertical paths, which is not the same as the effect I originally described/showed, which is straight vertical lines and distortion as a scale effect on height or the "y-axis" only. I don't think "Envelope Distortion" can handle this.

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

Re: What's the most efficient way to fit text in a shape like this?

Postby Moini » Wed Sep 28, 2016 11:12 pm

You could do it 'manually' using node sculpting (see example on the page): http://tavmjong.free.fr/INKSCAPE/MANUAL ... -Sculpting
Last edited by Moini on Thu Sep 29, 2016 3:37 am, edited 1 time in total.
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)

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: What's the most efficient way to fit text in a shape like this?

Postby tylerdurden » Thu Sep 29, 2016 12:38 am

Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

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

Re: What's the most efficient way to fit text in a shape like this?

Postby Moini » Thu Sep 29, 2016 3:37 am

Thanks :) (fixed in the original post now, too)
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)

cleversomeday
Posts: 62
Joined: Tue Jan 19, 2010 6:52 am

Re: What's the most efficient way to fit text in a shape like this?

Postby cleversomeday » Fri Sep 30, 2016 11:00 am

Bezier Envelope Extension works well for this
http://cleversomeday.com/textwarpink/


Return to “Help with using Inkscape”