[scribus-dev] scribusCTL plan

Dawood al-badi dawood.albadi at gmail.com
Sun Nov 29 05:59:44 UTC 2015


hello Andreas
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.

2015-11-27 15:31 GMT+04:00 Andreas Vox <avox at arcor.de>:

> Hi,
>
>
>
> I committed my changes last night. I don’t know if I’ll be available on
> IRC, but I will read and answer any email to this list that has
> “scribusCTL” in it.
>
>
>
> Regards,
>
> Andreas
>
>
>
> *From:* Kunda Loves Scribus [mailto:scribus.user at gmail.com]
> *Sent:* Mittwoch, 25. November 2015 22:42
> *To:* Scribus Development Mailing List
> *Subject:* Re: [scribus-dev] scribusCTL plan
>
>
>
>
>
>
>
> On Tue, Nov 24, 2015 at 12:25 PM, Dawood al-badi <dawood.albadi at gmail.com>
> wrote:
>
> Glad to hear from you Mr. Andreas Vox
>
> It will be very helpfull if we synchronize our work. We also do changes in
> so many places regarding this separation but we didn't finish yet. If you
> can share your work it will be very helpful for me.
> Thank you
> Dawood
>
> On Nov 24, 2015 8:17 PM, "Andreas Vox" <avox at arcor.de> wrote:
>
> Hi Dawood!
>
>
>
> Sorry for keeping quiet for so long.
>
>
>
> I already started on separating StoryText and GlyphLayout. Unfortunately
> that requires changes at hundreds of other places. So far I changed
> textlayout.h/cpp, storytext.h/cpp and related classes and adapted
> pageitem.cpp and pageitem_textframe.cpp. Right now I’m working on
> pdflib_core.cpp.
>
>
>
> Do you think it would help if I commit my (not compiling) code to github?
>
>
>
> Regards,
>
> Andreas
>
>
>
> *From:* Dawood al-badi [mailto:dawood.albadi at gmail.com]
> *Sent:* Dienstag, 24. November 2015 11:43
> *To:* Scribus Development Mailing List
> *Subject:* [scribus-dev] scribusCTL plan
>
>
>
> Per developers request, I will explain Oman HOST team thoughts.
>
> Current process of laying out text is as follows:
>
>
>
> The StoryText class handles characters and glyphs layout. This class
> stores characters in a member with type of ScText_Shared with basically a
> QList of ScText, which (despite its name) stores a single character, its
> styles and associated GlyphLayout.
> The problem with this is that the order of glyphs is tied to the logical
> order of characters so we can not apply the bidi algorithm to support right
> to left languages as it will reorder the text to its visual order. It can
> not also represent many to one characters to glyphs relationship e.g.
> ligatures.
>
> Our Aim:
>
> Andreas proposal is to separate glyph layout from story text which should
> make it possible to avoid above limitations. So, we are moving all
> functions  related to glyph layout to the TextLayout class. This currently
> includes:
>
> getGlyphs()
> flags()
> hasFlag()
> setFlag()
> clearFlag()
>
> There will be a mapping between glyphs in TextLayout and characters in
> StoryTextWhich will remove the  need for ScText so we can drop it
> inertially. This will allow for us to change the visual order of the glyphs
> without affecting the logical order of the characters, which is the
> prerequisite for CTL support i.e. bidi and shaping.
>
> We are splitting the project into three stages.
>
> 1- Separating glyph layout from story text.
>
> 2- Refactor or prepare TextLayout class to integrate HarfBuzz and ubidi.
>
> 3- Integrate harfbuzz and bidi with scribus.
>
>
>
> Any feedback will be highly welcomed.
>
>
>
> Hey everyone,
>
> Lets stop breaking the mailing list rules about not top-posting.
>
> Avox, so Dawood has given the green light to push your changes to github
> repo
>
> So please do that as soon as you can.
>
>
>
> Also if you can be available to answer their questions since they do have
> a time-limit for their project. We could actually see the realization of
> CTL committed to trunk in this lifetime! :)
>
>
>
> Cheers,
>
> /Kunda
>
>
>
>
>
> _______________________________________________
> scribus-dev mailing list
> scribus-dev at lists.scribus.net
> http://lists.scribus.net/mailman/listinfo/scribus-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus-dev/attachments/20151129/345d5894/attachment.html>


More information about the scribus-dev mailing list