<div dir="rtl"><div dir="ltr">Hello Andreas<br><br></div><div dir="ltr">Generally I got the idea. As I mention early that we start work on elimination of ScText but I will leave it at this time to work with you. Just I need one more thing. As I mention in first mail I want my team work and your work to be synchronized so, I need to know what you are modifying currently to let me work on another class or methods to avoid wasting our time in the same thing. If you have problem with that I will continue from last update you sent.<br><br><br></div><div dir="ltr">Regards<br></div><div dir="ltr">Dawood<br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div dir="ltr">2015-11-29 22:37 GMT+04:00 Andreas Vox <span dir="ltr"><<a href="mailto:andreas.vox@gmail.com" target="_blank">andreas.vox@gmail.com</a>></span>:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> Am 29.11.2015 um 06:59 schrieb Dawood al-badi <<a href="mailto:dawood.albadi@gmail.com">dawood.albadi@gmail.com</a>>:<br>
><br>
> hello Andreas<br>
> I look to your code and I notice that you still have ScText in storytext but you mentioned in previous email that you finish working on storytext. Your plan was first to separate glyph layout from story text and that need to work on ScText which stores unicode with glyph layout. I start to eliminate usage of ScText but I saw you work on different path.I saw the new class called boxes. Can you please explain what you are trying to do. I will complete your works but I want to understand your aim first.<br>
<br>
</span>Hi,<br>
<br>
ScText is only used internally in StoryText. My method is to come up with a workable interface for StoryText and then make the rest of Scribus use it. ScText can be eliminated from StoryText’s implementation later. You’ll notice that I removed GlyphLayout from ScText and all methods related to layout from StoryText.<br>
<br>
Boxes are the future interface for layouts. It follows some ideas from TeX. I rewrote PageItem_Textframe::layout() to produce LineBoxes of GlyphBoxes instead of the old LineSpec / StoryText / GlyphLayout setup. All future implementations of PageItem::layout() will produce a text layout with a hierarchy of boxes.<br>
<br>
The goal is to use "Box::virtual void render(ScPainter* p, const RenderOptions& renderOptions)" for all rendering: screen, PDF, PS and image export. But that needs rewriting of a lot of the PDF/PS code and merging the ScPainter and ScPainterEx interfaces.<br>
<br>
The immediate goal is to get the code compiling again and make it work correctly for screen, PDF export and text frames. Then extend to text path and tables. Your RTL code would probably replace PageItem_TextFrame::layout() and produce a different box hierarchy. Bidi reordering should happen on box level.<br>
<span class="HOEnZb"><font color="#888888"><br>
/Andreas<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
scribus-dev mailing list<br>
<a href="mailto:scribus-dev@lists.scribus.net">scribus-dev@lists.scribus.net</a><br>
<a href="http://lists.scribus.net/mailman/listinfo/scribus-dev" rel="noreferrer" target="_blank">http://lists.scribus.net/mailman/listinfo/scribus-dev</a><br>
</div></div></blockquote></div><br></div>