Patch: Implement native drawString using Pango

Thomas Fitzsimmons fitzsim@redhat.com
Fri Aug 22 18:11:00 GMT 2003


Hello,

This patch changes the native implementation of GdkGraphics.drawString
to use Pango text-handling functions.  The existing XLFD implementation
was producing completely incorrect output.

Please review and comment.

Thanks,
Tom

2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
	name, not XLFD, to native drawString.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
	Replace XLFD-based implementation with Pango-based
	implementation.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: drawstring.diff
Type: text/x-patch
Size: 2721 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030822/f9bd59b4/attachment.bin>


More information about the Java-patches mailing list