Search found 2 matches
- Sat Jul 11, 2015 9:22 am
- Forum: SVG / XML Code
- Topic: Reading tabbed text in SVG
- Replies: 3
- Views: 2743
Re: Reading tabbed text in SVG
Thank you. I pieced together a simple function that works to separate each line as I need it: def svg_tspan_to_wordlist(span_node): """return a list of word groups broken by apparent columns""" #horizontals is the position-list of each letter in span.text horizontals = ...
- Sat Jul 11, 2015 6:17 am
- Forum: SVG / XML Code
- Topic: Reading tabbed text in SVG
- Replies: 3
- Views: 2743
Reading tabbed text in SVG
I have a series of PDFs that include rows of text that are clearly formatted into a table: 5/31/2015 00 Adventure 3 150 0.001 1.50 5/31/2015 00 Excitement 1 65 0.10 6.50 I am using Inkscape to convert these to plain svg, and when I explore the svg, I find the svg:text nodes and inside them svg:tspan...