This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug AWT/16736] New: Can't set font size in constructor
- From: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2004 00:27:51 -0000
- Subject: [Bug AWT/16736] New: Can't set font size in constructor
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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