newlines are ignored when filling text into shape

Bug #557456 reported by Roman Polach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Unassigned

Bug Description

In Inkscape 0.47 when I select a text object and a shape object
and press Alt+W (filling text into a shape/frame) all end-lines of text
are deleted. Fortunately if I have that text saved elsewhere, I can copy/paste
it into already shaped text object again.

Tags: text
Revision history for this message
su_v (suv-lp) wrote : Re: newlines are deleted when filling text into shape

reproduced with Inkscape 0.47 and 0.47+devel r9299 on OS X 10.5.8

All newlines of the text are ignored and the text is rendered as a single (flowed-text) paragraph. The original formatting is preserved in the <flowPara> element (as can be verified in the XML editor) and only lost when the text is 'unflowed' (as described in the status line message of 'Unflow' and in the manual page <http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Text-Flow.html>).

comment in the source code for 'Flow into Frame':

        // FIXME: transfer all formatting! and convert newlines into flowParas!

<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/annotate/head%3A/src/text-chemistry.cpp#L360>

tags: added: text
summary: - end-lines are deleted when filling text into shape
+ newlines are deleted when filling text into shape
Changed in inkscape:
importance: Undecided → Wishlist
status: New → Confirmed
su_v (suv-lp)
summary: - newlines are deleted when filling text into shape
+ newlines are ignored when filling text into shape
Revision history for this message
Roman Polach (rpolach) wrote :

well I prefer "deleted" - because if you open text edit dialog, newlines are gone, but if you insert them again, they
are respected. So they are not ignored, they are only one-time deleted by the moment when Alt+W is processed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.