Inkscape.org
Beginners' Questions Trying tu justify a text with a lot of spaces as result
  1. #1
    Barkilphedro Barkilphedro @Barkilphedro
    First of all, i don't speak english so excuse all my mistakes.
    
    The title already says a lot and this problem is classic.
    
    I have to justify some text (not right, center or left, just justify it) and when I do, the words in some lines are horribly spaced out.
    I know how to solve this problem on Word but if I come here it's because I haven't found a solution in tutorials or other forums...
    
    Thank you very much for your help.
  2. #2
    Tyler Durden Tyler Durden @TylerDurdenโš–

    Depending on the method used, Justify will not work:ย https://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#Browser-compatible_flowed_text

  3. #3
    Barkilphedro Barkilphedro @Barkilphedro
    *
    Thank you for your message.
    I use the technique presented in gif number 2, ie create a text shape and type in it. The button to justify the text is therefore available but it is the justification itself that is not good.
  4. #4
    Tyler Durden Tyler Durden @TylerDurdenโš–

    Are you seeing something like this?

  5. #5
    Barkilphedro Barkilphedro @Barkilphedro

    Yes, but more like that

    ย 

    Capture
  6. #6
    Tyler Durden Tyler Durden @TylerDurdenโš–

    If this is text copied from another source, I would first paste into a plain text editor, then pasting into Inkscape, before using the justify button.

    I wouldย also try selecting all the text in the rectangle and use Text>remove manual kerns,ย before using the justify button.

  7. #7
    Barkilphedro Barkilphedro @Barkilphedro
    Thanks for this advice.
    I tried but it doesn't work. I think it's just the number of words the software is trying to fit into the line to justify it.
    In Word when this problem exists, just check the option "Don't expand character spaces on a line that ends with SHIFT-RETURN"
    Is there such an option in Inkscape?
  8. #8
    Tyler Durden Tyler Durden @TylerDurdenโš–
    *

    No, but if there are returns in the text, they may appear in a plain text editor... Iย usually use TextPad or NotePad++ to make the text a single line with no garbage, then copy that and paste it into Inkscape.

    Using a rich text editor or word will not provide reliable results. Notepad may work, but is lame.

  9. #9
    Barkilphedro Barkilphedro @Barkilphedro
    ๐Ÿ‘
    OK !
    It seems to work! I did as you said, putting the text in a single line in notepad before copying it into the text box.
    There are still holes in the text but it's already much better. I'm going to have to perfect that by adapting my text I think.
    
    Thanks a lot :)
Inkscape Inkscape.org Inkscape Forum Beginners' Questions Trying tu justify a text with a lot of spaces as result