Diffusion Krita b83863da5ec8

Implement basic generation of XML from a KoSvgTextShape

Authored by rempt on Dec 12 2017, 10:21 AM.

Description

Implement basic generation of XML from a KoSvgTextShape

This re-uses the KoSvgTextProperties::convertToSvgTexgtAttributes
to generate the CSS style string for each span/p element. The
text is converted to a single <p> element with the lines separated
by <br>; currently only vertical movement is interpreted as newlines,
when we support vertical text, horizontal movement must also be
checked.

Details

Committed
remptDec 12 2017, 10:21 AM
Parents
R37:44f0e1decff5: Fix a crash when saving a document.
Branches
Unknown
Tags
Unknown