Text exports one character per <text> element
See original GitHub issueFirst off, just wanted to say this is groundbreaking stuff and you’re a genius. So thank you for creating this library. Now, on to my issue…
When exporting via bodymovin after having disabled the glyphs option, each character of text is wrapped in its own <text> element, e.g. the word “the” would output like this:
<text>t</text>
<text>h</text>
<text>e</text>
Is there a reason for this or a way to force text to not be wrapped in such a way? It makes manipulating the generated SVG much more problematic. I would prefer it spits out whole lines at a time and only performs transform-style positioning on those blocks of text where necessary.
Issue Analytics
- State:
- Created 6 years ago
- Comments:11
Top Results From Across the Web
Export data to a text file - Microsoft Support
Learn how to export Access objects and data to text files. ... on its own line, and the fields are separated by a...
Read more >Exporting new line characters to text in Postgres
1 Answer 1 · I need to export the contents of this field to a text file, not a CSV. · Then COPY...
Read more >Export character limit per field - Oracle B2C Service
1. Open the report in edit mode 2. Right click on the column you wish to extend the text limit for. 3. Select...
Read more >JasperReports - Text Export Sample (version 6.20.0)
Text elements are converted into simple texts to be written in documents with predefined page widths and heights, measured in characters.
Read more >Segments and Encodings - Spoke Rewired Knowledge Base
A segment is a component of a larger overall text message. ... An SMS message under 160 characters will often be one segment, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Added a single text element with tSpans if layer doesn’t use animators.
The reason for this is text animators and tracking, indeed. I’ve tried using tspans wrapped around each character but I haven’t found a good way for animating them. I’ll try to see if I can use a single text element if the layer has no animators. Regarding SEO and accessibility, I’m also looking for a way to support them on every situation. Suggestions are welcome 😃