Fixes for peers' setFont implementations

Tom Tromey tromey@redhat.com
Tue Jul 29 19:26:00 GMT 2003


>>>>> "Tom" == Thomas Fitzsimmons <fitzsim@redhat.com> writes:

Tom> Pango's font setting mechanisms more closely resemble Java's,
Tom> which eliminates the need for XLFD-style font naming.

Cool.  Isn't XLFD deprecated now?  At long last.

Tom> 2003-07-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
Tom> 	* gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
Tom> 	than getXLFD.
Tom> 	* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
Tom> 	* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
Tom> 	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
Tom> 	(gtkSetFont): Scale size argument by PANGO_SCALE.
Tom> 	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
Tom> 	Likewise.
Tom> 	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
Tom> 	Likewise.

Ok, thanks.

Tom



More information about the Java-patches mailing list