Open joneuhauser opened 4 years ago
This is still wrong. I cannot understand why this hasn't been fixed.
It’s because nobody is working on the SVG specification anymore.
Somis SVG 2 dead?
This is our working assumption at Inkscape. New features are added de-facto by updates to the referenced modules, such as new CSS selectors, CSS Color Level 4, etc, and we try our best to support them.
The features we need to provide editability (non destructive editing, advanced text editing, multipage, export hints, swatches, ...) we've reluctantly decided to create in our own XML namespace, and we offer export to SVG 1.1. In light of the SVGWG's inactivity, this divergence will grow over time.
Thanks @joneuhauser for the clarification. I was really astonished when I tested this document with Inkscape and saw that the Justified alignment actually works natively (while maintaining editability). We need to use this in an automated process though and unfortunately Inkscape has no C API that would allow us to tightly integrate it. Are you aware of any other SVG engine/ tool that understands text-align: justify;
?
https://www.w3.org/TR/SVG2/text.html#TextShapePadding contains an example:
I have never seen
text-align: justified
before. According to CSS3, it should bejustify
: https://drafts.csswg.org/css-text-3/#text-align-property(also in CSS 2: https://www.w3.org/TR/CSS2/text.html#alignment-prop)