[OpenJDK 2D-Dev] <AWT Dev> Bad component spacing
Artem.Ananiev at Sun.COM
Thu Nov 6 12:27:27 UTC 2008
as your test uses Swing menus, it looks like a Swing (or probably
Java2D, because of font metrics) problem, rather than AWT one.
Marek Slama wrote:
> we encounter problem with too big spacing around text in Swing
> components in openjdk. I attach
> 2 snapshots of MenuLookDemo on openjdk and Sun JDK 6u10 on Ubuntu
> 8.10/Metal L&F. I was pointed
> to this maling list. Is it known problem? I do not know if it is
> specific to Ubuntu only.
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
> java version "1.6.0_0"
> IcedTea6 1.3.1 (6b12-0ubuntu6) Runtime Environment (build 1.6.0_0-b12)
> OpenJDK Client VM (build 1.6.0_0-b12, mixed mode, sharing)
> Both use the same font:
> Original issue report is https://bugs.launchpad.net/bugs/289784
More information about the 2d-dev