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 |
|
|
214 |
public int |
public int |
215 |
getMaxAdvance() |
getMaxAdvance() |
216 |
{ |
{ |
217 |
return(1); |
return(-1); |
218 |
} |
} |
219 |
|
|
220 |
/*************************************************************************/ |
/*************************************************************************/ |
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 |