Inkscape.org
Beginners' Questions Blank lines of text not rendering sometimes.
  1. #1
    MrD MrD @MrD

    So i have been struggling with this one for months. I was hoping that 1.2 solve it, but after downloading the latest Alpha, i found the same problems. So maybe im doing something wrong?.

    Basically, my text boxes cannot render manual blank spaces between paragraphs, after saving and reopening a document.:

    https://i.imgur.com/ld3Q7F0.png

    As you can see in the example, the text tool dialog shows a lot of blank lines, but they are not rendered. But somehow the upper text box works correctly, which i think have the same configuration.

    In a maybe related problem, i cannot break lines with "enter". I need to place a letter and then press "enter" behind it. Strange.

    Example SVG available here: https://svgshare.com/s/eSt

    I reported this as a bug, and it was approved. But i might be doing something wrong. https://gitlab.com/inkscape/inkscape/-/issues/2754

    Maybe there is any way to work around this meanwhile is "fixed"?

     

  2. #2
    Tyler Durden Tyler Durden @TylerDurden⚖

    Text composition is best done on the canvas rather than in the Text/Font dialog.

  3. #3
    MrD MrD @MrD

    Hello. Yeah im using the canvas; the text tool its only showed to display the real content of the text (Blank spaces), that are not properly rendered.

    I can add the blank spaces in the canvas and it does work; but after reopening the file, they are erased.

  4. #4
    Tyler Durden Tyler Durden @TylerDurden⚖
    👍

    Text has a variety of new methods. Some will have unexpected behavior. Details here: https://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#Flow_order

  5. #5
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Your svg structure is complex, causing problems for Inkscape. I had a few crashes as I edited it. Your file includes layer transforms, flowed text, text transforms, and boundary rectangles hidden in the defs section.

    To simplify your image I removed all the transforms, deleted redundant shapes, unflowed the text objects, moved the boundary rectangles into the text layer, flowed the text again, removed the text styles, and finally restored the manual line breaks. Now the text layout is preserved on saving and loading.

    Est Cleanup
  6. #6
    MrD MrD @MrD
    👍
    TylerDurden

    Text has a variety of new methods. Some will have unexpected behavior. Details here: https://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#Flow_order

    Tyleeer!. Thanks a lot!. Did some testing with SVG 2 text with inline-size property: and it works as expected, no longer having my issues. Seriously i was getting crazy with this one.

     

    Paddy_CAD

    Your svg structure is complex, causing problems for Inkscape. I had a few crashes as I edited it. Your file includes layer transforms, flowed text, text transforms, and boundary rectangles hidden in the defs section. To simplify your image I removed all the transforms, deleted redundant shapes, unflowed the text objects, moved the boundary rectangles into the text layer, flowed the text again, removed the text styles, and finally restored the manual line breaks. Now the text layout is preserved on saving and loading.

    Your svg structure is complex, causing problems for Inkscape. I had a few crashes as I edited it. Your file includes layer transforms, flowed text, text transforms, and boundary rectangles hidden in the defs section.

    To simplify your image I removed all the transforms, deleted redundant shapes, unflowed the text objects, moved the boundary rectangles into the text layer, flowed the text again, removed the text styles, and finally restored the manual line breaks. Now the text layout is preserved on saving and loading.

     

    No idea i was doing such a mess in my files. Any good references of good practice's with SVG files and how to "repair" them?. I have years using Inkscape, but seems like im not doing the best job with the cleanliness.

    Altough i had the same issue with absolutely new and clean files, so flowed text seems to be buggy, but at leas with @TylerDurden help i can use  SVG 2 text with inline-size property,  that seems to work great for my work.

  7. #7
    Paddy_CAD Paddy_CAD @Paddy_CAD
    🙏
    MrD

    Any good references of good practice's with SVG files and how to "repair" them?.

    Combinations of groups, transforms, clips and masks, LPE's, offsets, clones, etc. are sometimes too much for Inkscape's delicate parsing and rendering engines. My clean up methods evolved over many years as I tried to recover my own messed up drawings. I don't know of any written guidelines so I should probably make a tutorial - someday.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Blank lines of text not rendering sometimes.