On Apr 27, 2013, at 5:17 PM, Denis Kudriashov <
dionisiydk@gmail.com> wrote:
> I should say it is not difficult to do with current design. I were
> think about it and current layout building logic requires little
> changes, maybe just one spesific method.
>
> But there is cases where any text change required rebuilding full
> layout. Fo example, single line text with wrapping mode.
>
>
> 2013/4/27, Igor Stasenko <
siguctua@gmail.com>:
>> Very impressive progress, Denis! :)
>>
>> I going to finish low-level stuff in Athens (path approximation /
>> point location)
>> and then go straight to text rendering with existing Text.
>> Next stage will be to take TxText model and provide rendering for it
>> with Athens,
>> as well as review the code.
>>
>> About text editing and re-layout.
>> It should be possible that any local update (which affecting only
>> single character span or multiple adjusted character spans will
>> require only local recalculations of text layout). Otherwise there is
>> no reason why in our model we don't keep whole text in single big
>> buffer (like Text does).
>> Splitting text on multiple spans was the reason to make local layout
>> updates possible.
>> But i know it is not that easy to do :)
>>
>>
>> --
>> Best regards,
>> Igor Stasenko.
>>
>>
>