-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No support for text wrapping #7
Comments
This is critical for Crema - otherwise, we don't have feature parity with the older generator svg engine. |
Not sure what you mean, the old engine doesn't have text wrapping. |
The old engine supports hard returns for multiline text. |
We do as well. We even have multiple tests for that. |
Hmm...I do see separate lines, but they're overlapping. Is that expected? |
no, could you send me your test please? |
Thanks Dirk - emailed a test file. |
Need to fix this for parity with CC Extract's SVG output. |
Request has been submitted to Generator a while back ago. It seems that we disagree on expectations of developers with the Generator team: adobe-photoshop/generator-core#250 |
Hard returns are working now in Crema. We would have parity with Extract if we supported paragraph text with soft returns. Here's a test file that Crema currently does not wrap the text for: http://adobe.ly/1lODgkY @dirkschulze, extract/graphite handles the soft returns using t-span elements, which of course don't actually wrap in a browser - but, that is the kind of parity that Crema is looking for with extract right now. Is that a different issue than this one? |
Hard returns should have worked from the beginning in svgOMG. The soft returns is what I was after. And yes, this can just be implemented with more tspans. Just like we do for hard returns. |
I'm actively working on this. |
Preserve as many data in OM as possible and change the gradient in svgWr...
Photoshop support auto wrapping of text. SVG doesn't have that yet. We need to simulate it. Generator does not provide all needed information about this yet. JS doesn't help here, since we export SVG images which are not allowed to run scripts.
See adobe-photoshop/generator-core#250
The text was updated successfully, but these errors were encountered: