CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Lillian Angel <[EMAIL PROTECTED]> 05/11/18 21:05:06
Modified files:
. : ChangeLog
native/jni/gtk-peer: gnu_java_awt_peer_gtk_GdkFontPeer.c
Log message:
2005-11-17 Lillian Angel <[EMAIL PROTECTED]>
Fixes PR classpath/PR24754
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
(Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): Fixed width
for the case where there is more than one line in the layout's text.
Otherwise, the width of the layout would be returned, which is the
max width of all the lines in the text. A loop was added to get the
extent of all the lines and add them together.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5659&tr2=1.5660&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c.diff?tr1=1.11&tr2=1.12&r1=text&r2=text