We have an instance of Font and would like to get the font metrics for it. In JDK 1.1 and earlier you would use Toolkit#getFontMetrics. I see that it is now deprecated. The JDK 1.2 documentation refers me to Font#retrieveLineMetrics, but when I go to the JavaDoc for that class, the method retrieveLineMetrics doesn't exist. I have heard of two work arounds for the issue, but neither work for us, because we don't have a graphics instance and our object is not a subclass of component. So armed with an instance of Font, is there any way to get a LineMetrics instance? Thanks in advance, David -- *************************************** David Whiteman Applied Reasoning whiteman AT AppliedReasoning DOT com ICQ# 12178974 http://www.geocities.com/Heartland/3261 *************************************** ===================================================================== To subscribe/unsubscribe, send mail to [EMAIL PROTECTED] Java 2D Home Page: http://java.sun.com/products/java-media/2D/
