This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug AWT/16736] New: Can't set font size in constructor


Currently, we hard code the font size to 12 in GtkFontPeer
constructor.    When you do something like the following:

  Font font = new Font("Helvetica", Font.BOLD, 25);

the font size gets ignored.  GtkFontPeer's constructor should be fixed
to accept font sizes.
------- Additional Comments From djee at redhat dot com  2004-02-25 12:39 -------
Fixed in java-gui-branch.  Please verify with the Font.BaseLine Acunia
test.
------- Additional Comments From djee at redhat dot com  2004-02-25 12:39 -------
Oops closed bug by mistake.  Reopening.
------- Additional Comments From djee at redhat dot com  2004-02-25 12:40 -------
Marking as MODIFIED (fix waiting for verification).
------- Additional Comments From fitzsim at redhat dot com  2004-05-18 17:16 -------
Verified; fixed on java-gui-branch.


-- 
           Summary: Can't set font size in constructor
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P1
         Component: AWT
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: djee at redhat dot com
                CC: djee at redhat dot com,gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16736


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]