------- Additional Comments From mark at gcc dot gnu dot org  2005-06-23 15:48 
-------
There are two parts to this bug.
1) Small images weren't loaded correctly.
2) An image that is scaled/clipped and doesn't use (0,0) as origin isn't scaled
correctly.

1) is fixed in GNU Classpath by:

2005-06-22  Mark Wielaard  <[EMAIL PROTECTED]>

        * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
        (pumpBytes): Throws IOException.
        (pumpDone): New native method.
        (produce): Call pumpDone().
        * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h: Regenerated.
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
        (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): New method.
        (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Check for
        errors on gdk_pixbuf_loader_write.

2) Isn't fixed yet. It occurs in gnu.java.awt.peer.gtk.GtkImage.drawImage()
where it says:
    // Clipping. This requires the dst to be scaled as well,


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19847

Reply via email to