Re: TxTextMorph based on new text model
Posted by
Denis Kudriashov on
Jan 28, 2013; 6:18pm
URL: https://forum.world.st/TxTextMorph-based-on-new-text-model-tp4663219p4665918.html
Hello
I read paper and play with image. And I have not good impression about this work.
First they present text with real objects for each letter. Each letter is actually big object with x, y, predecessor, successor and other attributes. How much memory such model required?
Do you think that presenting any letter with real object (not just character) is sufficient for modern computers? I think not. Of course such model significantly simplified all logic around text layout stuff. But I think it is too expensive.
Another thing which I always not agree is introduction scripting languages inside smalltalk. In paper all layout logic (and editing too) programmed by "system of rules" in special scripting language (very similar to smalltalk). If you look deeply you will see that rules call other rules with same way methods call other methods in basic smalltalk code. So I don't see any value of rules idea expressed with special scripts.
In spite of my non positive opinion I like what they do inside rules. It is really simple and understandable code. Maybe I will try reuse something.
Best regards,
Denis