/[classpath]/classpath/gnu/java/awt/peer/qt/QtFontPeer.java
ViewVC logotype

Diff of /classpath/gnu/java/awt/peer/qt/QtFontPeer.java

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

revision 1.2 by smarothy, Tue Aug 16 23:22:09 2005 UTC revision 1.3 by smarothy, Tue Aug 23 02:13:48 2005 UTC
# Line 65  public class QtFontPeer extends Classpat Line 65  public class QtFontPeer extends Classpat
65    public QtFontPeer (String name, int style, int size)    public QtFontPeer (String name, int style, int size)
66    {    {
67      super(name, style, size);      super(name, style, size);
     System.out.println("New Font:"+name);  
68      init();      init();
69    }    }
70    
# Line 81  public class QtFontPeer extends Classpat Line 80  public class QtFontPeer extends Classpat
80        throw new IllegalArgumentException("null family name");        throw new IllegalArgumentException("null family name");
81      if(this.familyName.equals("Helvetica"))      if(this.familyName.equals("Helvetica"))
82        this.familyName = "sans serif";        this.familyName = "sans serif";
83        if(this.familyName.equals("Dialog"))
84          this.familyName = "sans serif";
85      create(this.familyName, this.style, (int)this.size);      create(this.familyName, this.style, (int)this.size);
86      metrics = new QtFontMetrics(this);      metrics = new QtFontMetrics(this);
87    }    }

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

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