How to write justified text?

Post questions on how to use or achieve an effect in Inkscape.
seans_potato_biz
Posts: 138
Joined: Mon Apr 07, 2008 6:01 am

How to write justified text?

Postby seans_potato_biz » Tue Jan 13, 2009 8:27 am

I would like to justify my text but as I type, the text-box expands. Does "justify" hold any meaning unless I can set the text-box size myself and force the text to wrap? How can I do this? Thanks.
Win 7/10, Inkscape 0.92.2

We don't inherit the Earth from our parents; we borrow it from our children.

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: How to write justified text?

Postby prkos » Tue Jan 13, 2009 9:22 am

Just hit enter to go to the new line and the text will be justified to the side you chose :)
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download

User avatar
kelan
Posts: 178
Joined: Thu Sep 06, 2007 12:55 am
Location: Unicorn of Open Source
Contact:

Re: How to write justified text?

Postby kelan » Wed Jan 14, 2009 12:46 am

If you want to set a specific area for the text to remain within, you can do that, too. After choosing the text tool, instead of just clicking on the canvas, click and drag to create a rectangle. The text will wrap to stay within the rectangle.

pX

Re: How to write justified text?

Postby pX » Tue Mar 09, 2010 12:47 am

kelan wrote:If you want to set a specific area for the text to remain within, you can do that, too. After choosing the text tool, instead of just clicking on the canvas, click and drag to create a rectangle. The text will wrap to stay within the rectangle.


Mmm... What if you want InkScape to *strech* the sentence but not the characters ? Like "align & distribute" for words (NOT letters) ? Mm ? (Oh, and the text bounding box that you mentioned, sometimes refuses to appear. rince and repeat)

User avatar
syllie
Posts: 48
Joined: Fri Jan 15, 2010 3:51 pm
Location: Sydney, Australia
Contact:

Re: How to write justified text?

Postby syllie » Tue Mar 09, 2010 1:46 pm

Hi pX,

There are several bugs with the text tools - some of them are a bit of an annoyance and others are more than that (such as font variants not appearing, fonts available on system not loading and more). These are reported and Inkscape improves with each version - till then I live with the quirks *sigh*...

I believe that what you are looking for is exactly what Kelan described tho:
  • Define the width of your text area.
  • Type your text(s)
  • Set the justification through the text editor (T -icon in Top Menu)
This type of text is called "Flowed Text", and by justifying it, extra whitespace is added between the words, but the characters are not stretched.

You can also use character kerning and shifting. This however works only on REGULAR text (text that is directly inputted, non-flowing). Explanation can be found in the guide: http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Text-Character.html

Of course, if all of this fails to achieve the desired effect: you can convert your text to a path, ungroup the characters and then use the allign and distribute tool.

I hope this helps,
Syllie
Life is the art of drawing without an eraser. (John W. Gardner)

http://verysimpledesigns.com - graphics resources
http://syllie.com - personal website


Return to “Help with using Inkscape”