Enhancement: Text-splt/tidy tools

Bug #1576777 reported by Alex Farlie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Wishlist
Unassigned

Bug Description

(See attachment to https://bugs.launchpad.net/inkscape/+bug/1576761 for an example file.)
( see also https://bugs.launchpad.net/inkscape/+bug/1576665 for a related enhancement request relating to a re-kern option.)

In the example file (converted from an EPS), the text handling/conversion is somewhat unusal. in that there are places where the text string for what is essentially 2 items is one continuous item, the nominal split being achieved with manual kerning/repositioning. (which isn't well supported by the render engine used at Wikimedia Commons). Removing the mannual kerning means the 'soft-split' gets removed, and the drawing looks wrong, it taking a bit of effort to fully correct.

Therefore I would like a 'feature' or script that enables me to split up the text with more precision than the current Split-text script which can only do things by "lines" "words" or glyphs(letters), and which (see the first linked bug seems to be a bit iffy at times.)

Ideally I'd like a dialog that lets me define precisely where the text should be split up into indvidual items. (Or an escape charcter like | I can use in a text box...

To give an example for a string that was "Item 1|Item 2|Item 3" the script would create 3 new text objects Item 1, Item 2, Item 3 at appropriate positions.

The script would then use the x,y data if defined) in the SVG in the words either side of the |'s to gnerate new text objects
appropriately positioned and transormed in line with the original text object, but which are independent of each other.

Where there was precise x,y (?) kerning data. The script should make use of it in constructing the next text objects, but where such data is absent the script should make an intelligent estimate based on the bounding box of combined string.

Currently this request concerns single line text objects, but I've no objections to it being extended for multiple objects.
(I'm not sure how you might encode tabs or linefeeds into the string for conversion.)

Having performed the split the script should then (optionally) remove the original text object.

jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → Wishlist
summary: - Enhancment: Text-splt/tidy tools
+ Enhancement: Text-splt/tidy tools
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.