Re: Cairo crash

Annick Fron <[email protected]> Wed, 14 Dec 2022 14:55:42 +0100
Newsgroups gmane.comp.lang.smalltalk.vwnc
Message-ID <[email protected]>
Thank you Maarten, but you already told me this trick …
Annick

> Le 14 déc. 2022 à 13:17, Maarten Mostert <[email protected]> a écrit :
> 
> 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
>