On 12 December 2011 18:42, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Igor
what is the link between pango cairo and the work you did on the text model in athens? Because I have the impression that you work on text modeling is important.
i dont know much about pango to say anything, except that it is library for text layout. my impression, that if we will want to use pango for text layout, then we need to use different model for text. Or maybe Text could stay, but morphic related stuff will require serious changes. This is because when i did text layout for Athens, i had to make own paragraph/morph pair, because of hardcoded stuff in existing classes.
Stef
A taste of what will be available: rendering the same GLabel (the gaucho equivalent to StringMorph), scaling the CairoCanvas.
Pesudo Code:
"create a label" label := GLabel on : 'hello Pango-Cairo'.
"draw it on the canvas" label drawOn: canvas.
"scale the canvas" canvas translateBy: aDelta ; scaleBy: aScale.
"draw it on the canvas" label drawOn: canvas.
"repeat"
-- Best regards, Igor Stasenko.