On Fri, 2012-03-30 at 00:04 +0700, Yevgeny Lezhnin wrote:
Hello. After discussing project proposal variants with Alexander Prokoudine I have decided, that there is a better project to participate: Text layout rewrite. I think I can work on this project and create code for treating normal SVG text right.
I found one small bug (1), but I don't sure that it is enough for application.
I began a Wiki page on redoing Inkscape's text handling.[1] The current implementation assumes that everything is flowed text and that normal text is just a special case where the text is flowed into an infinitely wide box. I'll call this a top-down approach. What I describe in the Wiki is a bottom-up approach. I think this is a simpler approach that more easily allows adding new features.
There is one thing to keep in mind: SVG 2 will have text flow into arbitrary shapes using the same mechanism that CSS will use[2]: CSS Exclusions[3] and CSS Regions[4]. Changes to our code should be compatible with these specs. It is too early to know how SVG will incorporate these specs so everything for the moment should be kept in the Inkscape name space.
Tav
[1] http://wiki.inkscape.org/wiki/index.php/TextRework [2] http://www.w3.org/Graphics/SVG/WG/wiki/SVG2_Requirements_Input#Text_flow_to_... [3] http://dev.w3.org/csswg/css3-exclusions/ [4] http://dev.w3.org/csswg/css3-regions/