[scribus-dev] The text frame layout algorithm

hasen j hasan.aljudy at gmail.com
Tue Dec 15 08:19:53 CET 2009


Hello all,

As you might already know, the text frame doesn't implement the
bidirectional algorithm, (not to mention character shaping (required
for rendering Arabic)), as reported in bug #1079
http://bugs.scribus.net/view.php?id=1079

The file pageitem_textframe.cpp line 810 has the function:

     void PageItem_TextFrame::layout()

I believe that's where the layout algorithm is implemented. The method
is about 1500 lines long.

Is there any documentation lying around some where that explains the
ideas behind the text layout process?

Are there any plans currently to refactor that method?

Regards.

Hasan



More information about the scribus-dev mailing list