[scribus-dev] scribusCTL plan

Kunda Loves Scribus scribus.user at gmail.com
Tue Nov 24 16:28:58 UTC 2015


On Tue, Nov 24, 2015 at 10:16 AM, 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.
>
> _______________________________________________
> scribus-dev mailing list
> scribus-dev at lists.scribus.net
> http://lists.scribus.net/mailman/listinfo/scribus-dev
>
>
Avox!!
So glad you replied! Thank you.

re: Dawood
Thanks for the elaboration!

I speak for some in the community that we'd love to watch development
happen, so +1 for using Github.

Moving forward!
/Kunda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus-dev/attachments/20151124/aabed36e/attachment-0001.html>


More information about the scribus-dev mailing list