This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fixes for peers' setFont implementations


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]