/[classpath]/classpath/gnu/java/awt/peer/ClasspathFontPeer.java
ViewVC logotype

Diff of /classpath/gnu/java/awt/peer/ClasspathFontPeer.java

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

revision 1.4 by mkoch, Thu Apr 22 07:22:52 2004 UTC revision 1.5 by mkoch, Fri Oct 8 21:41:41 2004 UTC
# Line 160  public abstract class ClasspathFontPeer Line 160  public abstract class ClasspathFontPeer
160      return name;      return name;
161    }    }
162    
163    protected static void copyStyleToAttrs (int style, Map attrs)    public static void copyStyleToAttrs (int style, Map attrs)
164    {    {
165      if ((style & Font.BOLD) == Font.BOLD)      if ((style & Font.BOLD) == Font.BOLD)
166        attrs.put (TextAttribute.WEIGHT, TextAttribute.WEIGHT_BOLD);        attrs.put (TextAttribute.WEIGHT, TextAttribute.WEIGHT_BOLD);
# Line 179  public abstract class ClasspathFontPeer Line 179  public abstract class ClasspathFontPeer
179        attrs.put (TextAttribute.FAMILY, fam);        attrs.put (TextAttribute.FAMILY, fam);
180    }    }
181        
182    protected static void copySizeToAttrs (float size, Map attrs)    public static void copySizeToAttrs (float size, Map attrs)
183    {    {
184      attrs.put (TextAttribute.SIZE, new Float (size));      attrs.put (TextAttribute.SIZE, new Float (size));
185    }    }

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

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