Rearranging words and resizing the font and rearranging the whole text to fill as much as possible of a rectangle

General discussions about Inkscape.
Tord Mundt
Posts: 1
Joined: Wed Nov 15, 2017 8:46 pm

Rearranging words and resizing the font and rearranging the whole text to fill as much as possible of a rectangle

Postby Tord Mundt » Wed Nov 15, 2017 8:59 pm

I have text within a rectangle like

The quick brown fox jumps over the lazy dog


I want this text to be split on spaces or not split to fit into the rectangle without being stretched, just given a different size.

I want to change the text inside the svg and have the rendered result as described.

Here, the width is obeyed:
t1.png
t1.png (23.5 KiB) Viewed 2253 times


Here, the height is obeyed:
t2.png
t2.png (17.27 KiB) Viewed 2253 times


Notice that the text is not stretched. It is about rearranging words and resizing the font and rearranging the whole text to fill as much as possible of the rectangle.

How can I accomplish that?

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

Re: Rearranging words and resizing the font and rearranging the whole text to fill as much as possible of a rectangle

Postby Moini » Wed Nov 15, 2017 10:13 pm

Play with the font size. Also try setting the text alignment to justified.
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: Rearranging words and resizing the font and rearranging the whole text to fill as much as possible of a rectangle

Postby tylerdurden » Thu Nov 16, 2017 6:36 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/

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Rearranging words and resizing the font and rearranging the whole text to fill as much as possible of a rectangle

Postby brynn » Thu Nov 16, 2017 9:57 pm

I'm not understanding the question.
Here, the width is obeyed:

Here, the height is obeyed:

How can I accomplish that?

It looks like you did accomplish it. Are you saying that you want the text to be automatically adjusted for any given size of rectangle?

This is a classic case of not having enough information to answer the question.

User avatar
flamingolady
Posts: 687
Joined: Wed Jun 10, 2009 1:40 pm

Re: Rearranging words and resizing the font and rearranging the whole text to fill as much as possible of a rectangle

Postby flamingolady » Sat Nov 18, 2017 4:31 am

I'm not exactly sure of the question either, but I think I see what he means. I just went to try to change the justification of just some text on one line, after typing some words on 3 separate lines, and then choosing 'center'. Might be a bug in it; the entire text box moved over an inch or so, very bizarre, and the highlighted text did not center at all! Can anyone else re-produce that error? I think that is what the problem is, the centering is not working.


Return to “General Discussions”