Hi denis Alain is gone on vacation but it told me that if you code scale he will throw away what he did :) May be the decorators that alain wrote can be merged. In any case this is excellent to get a better system.
Stef On Apr 27, 2013, at 5:17 PM, Denis Kudriashov <dionisi...@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 <siguc...@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. >> >> >