/[classpath]/classpath/java/awt/FontMetrics.java
ViewVC logotype

Diff of /classpath/java/awt/FontMetrics.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mark, Sun Jan 13 15:45:15 2002 UTC revision 1.4 by tromey, Tue Jan 22 22:00:14 2002 UTC
# Line 1  Line 1 
1  /* FontMetrics.java -- Information about about a fonts display characteristics  /* FontMetrics.java -- Information about about a fonts display characteristics
2     Copyright (C) 1999 Free Software Foundation, Inc.     Copyright (C) 1999, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 214  getMaxDecent() Line 214  getMaxDecent()
214  public int  public int
215  getMaxAdvance()  getMaxAdvance()
216  {  {
217    return(1);    return(-1);
218  }  }
219    
220  /*************************************************************************/  /*************************************************************************/
# Line 330  getWidths() Line 330  getWidths()
330  public String  public String
331  toString()  toString()
332  {  {
333    return(getClass().getName() + "(font=" + font.getName() + ")");    return (this.getClass() + "[font=" + font + ",ascent=" + getAscent()
334              + ",descent=" + getDescent() + ",height=" + getHeight() + "]");
335  }  }
336    
337  } // class FontMetrics  } // class FontMetrics

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26