GdkGraphics.java (drawString): Pass font name, not XLFD, to native drawString.
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. From-SVN: r70698
This commit is contained in:
committed by
Thomas Fitzsimmons
parent
376de22592
commit
50fe737a03
@@ -215,8 +215,7 @@ public class GdkGraphics extends Graphics
|
||||
native void drawString (String str, int x, int y, String fname, int size);
|
||||
public void drawString (String str, int x, int y)
|
||||
{
|
||||
drawString (str, x, y,
|
||||
((GtkFontPeer)font.getPeer ()).getXLFD (), font.getSize ());
|
||||
drawString (str, x, y, font.getName(), font.getSize());
|
||||
}
|
||||
|
||||
public void drawString (AttributedCharacterIterator ci, int x, int y)
|
||||
|
||||
Reference in New Issue
Block a user