Re: Cairo crash

Maarten Mostert <[email protected]> Wed, 14 Dec 2022 13:17:05 +0100
Newsgroups gmane.comp.lang.smalltalk.vwnc
Message-ID <[email protected]>
Cairo can crash if you mesure text on the Screen Context. You can avoid that by putting text to mesure on a seperare Image context and take it from there.

Hope this helps,

Maarten

> Le 14 déc. 2022 à 09:48, Annick Fron <[email protected]> a écrit :
> 
> Hi,
> 
>    I am displaying some texte and rectangles using Cairo  with relative dimensions, but for some reason it crashes when I resize the window.
> 
>    I have tried to put clippings to avoid drawing outside the window, any idea how I could debug it ?
> 
>    Annick