On Sun, 2006-08-06 at 23:02 +0200, Sven de Marothy wrote:
> Here's a commited fix (for the release) for the problem with assert
> failures/segfaults while drawing text.
> 
> This fix is kind of temporary since I'm doing a big overhaul of all
> the font peer code.
> 
> 2006-08-06  Sven de Marothy  <[EMAIL PROTECTED]>
> 
>       * gnu/java/awt/peer/gtk/CairoGraphics2D.java
>       (drawGlyphVector): Synchronize against font object when drawing.
>       * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
>       (nativeDrawGlyphVector): Use pango locking when drawing.
>       (install_font_peer): Use pango locking when creating the cairo face.

I added this to the release and generics branch.
It doesn't solve all our font crashes. But it seems that won't be easy
to solve unfortunately. We will have to live with it for this release I
am afraid. But this patch at least makes some issues much harder to
trigger.

Thanks,

Mark


Reply via email to