2012-02-20 19:53:44 |
Martin Weißhaupt |
bug |
|
|
added bug |
2012-02-20 19:53:44 |
Martin Weißhaupt |
attachment added |
|
Screenshot of NetBeans 7.1 demonstrating the issue https://bugs.launchpad.net/bugs/937200/+attachment/2763116/+files/Screenshot%20at%202012-02-19%2013%3A21%3A12.png |
|
2012-04-05 15:06:57 |
Launchpad Janitor |
openjdk-7 (Ubuntu): status |
New |
Confirmed |
|
2012-05-10 02:08:30 |
Dan Jared |
bug |
|
|
added subscriber Dan Jared |
2012-05-15 00:46:16 |
chalkos |
bug |
|
|
added subscriber chalkos |
2012-05-15 09:31:26 |
Aldo Brucale |
bug |
|
|
added subscriber Aldo Brucale |
2012-06-02 12:36:58 |
Hanine HAMZIOUI |
bug |
|
|
added subscriber hanynowsky |
2012-06-07 08:01:47 |
Ivan Ivanov |
bug |
|
|
added subscriber Ivan Ivanov |
2012-06-13 15:21:34 |
Espen Meidell |
bug |
|
|
added subscriber Espen Meidell |
2012-06-23 07:42:34 |
Gerhard Radatz |
bug |
|
|
added subscriber Gerhard Radatz |
2012-06-24 09:33:38 |
Gerhard Radatz |
bug task added |
|
fonts-unfonts-core (Ubuntu) |
|
2012-06-27 10:46:09 |
Launchpad Janitor |
fonts-unfonts-core (Ubuntu): status |
New |
Confirmed |
|
2012-06-30 01:03:43 |
SimonH |
bug |
|
|
added subscriber SimonH |
2012-07-26 06:57:40 |
Géza Búza |
bug |
|
|
added subscriber Géza Búza |
2012-07-29 12:29:58 |
dreamon |
bug |
|
|
added subscriber dreamon |
2012-08-10 01:48:00 |
Rocko |
bug |
|
|
added subscriber Rocko |
2012-09-12 08:07:33 |
Gianfranco Costamagna |
bug |
|
|
added subscriber LocutusOfBorg |
2012-10-05 03:00:53 |
Soyu Kim |
bug |
|
|
added subscriber Setzer Gabbiani |
2012-10-07 20:15:30 |
Manfred Usselmann |
bug |
|
|
added subscriber Manfred Usselmann |
2012-11-03 22:00:49 |
Sergio Benjamim |
attachment added |
|
Comparison between java application (Arduino) and system application (Gens-GS) https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/937200/+attachment/3422987/+files/comparison%20fonts%20-%20java%20and%20system.png |
|
2012-11-12 08:41:37 |
Daniel Harvey |
bug |
|
|
added subscriber Daniel Harvey |
2012-12-19 07:51:19 |
Tonny Kohar |
bug |
|
|
added subscriber Tonny Kohar |
2013-01-10 10:44:39 |
Thomas Meire |
bug |
|
|
added subscriber Thomas Meire |
2013-04-17 07:47:17 |
Dmitriy Balakin |
bug |
|
|
added subscriber Dmitriy Balakin |
2013-04-26 10:26:13 |
md_5 |
bug |
|
|
added subscriber md_5 |
2013-06-15 08:38:10 |
p.tar |
bug |
|
|
added subscriber p.tar |
2013-07-08 21:10:18 |
Ryan Tandy |
bug |
|
|
added subscriber Ryan Tandy |
2013-08-21 20:00:08 |
pcworld |
bug |
|
|
added subscriber pcworld |
2013-09-03 15:36:19 |
Ryan Tandy |
attachment added |
|
fontconfig.Ubuntu.bfc https://bugs.launchpad.net/bugs/937200/+attachment/3801068/+files/fontconfig.Ubuntu.bfc |
|
2013-09-03 15:36:19 |
Ryan Tandy |
attachment added |
|
fontconfig.Ubuntu.properties.src https://bugs.launchpad.net/bugs/937200/+attachment/3801069/+files/fontconfig.Ubuntu.properties.src |
|
2013-11-06 00:54:19 |
bademux |
bug |
|
|
added subscriber bademux |
2013-11-10 12:33:47 |
Felix |
tags |
amd64 apport-bug precise |
amd64 apport-bug precise raring saucy |
|
2013-11-12 15:06:27 |
Alberto Salvia Novella |
bug task added |
|
openjdk |
|
2013-11-12 15:09:46 |
Alberto Salvia Novella |
openjdk-7 (Ubuntu): importance |
Undecided |
Low |
|
2013-11-12 15:09:57 |
Alberto Salvia Novella |
fonts-unfonts-core (Ubuntu): importance |
Undecided |
Low |
|
2013-11-12 15:13:25 |
Alberto Salvia Novella |
fonts-unfonts-core (Ubuntu): status |
Confirmed |
Invalid |
|
2013-11-12 15:13:50 |
Alberto Salvia Novella |
bug |
|
|
added subscriber Alberto Salvia Novella |
2013-11-12 16:18:01 |
Matthias Klose |
fonts-unfonts-core (Ubuntu): status |
Invalid |
Confirmed |
|
2013-11-13 11:18:10 |
Alberto Salvia Novella |
openjdk-7 (Ubuntu): status |
Confirmed |
Invalid |
|
2013-11-13 11:18:48 |
Alberto Salvia Novella |
bug task deleted |
openjdk |
|
|
2013-11-13 11:19:26 |
Alberto Salvia Novella |
fonts-unfonts-core (Ubuntu): status |
Confirmed |
Triaged |
|
2013-11-13 15:38:41 |
pcworld |
attachment added |
|
command line test case https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/937200/+attachment/3908022/+files/TestCase.java |
|
2013-11-15 21:09:12 |
Anton Statutov |
bug |
|
|
added subscriber Anton Statutov |
2013-11-25 10:00:59 |
Danilo Piazzalunga |
bug |
|
|
added subscriber Danilo Piazzalunga |
2014-01-01 14:16:02 |
Changwoo Ryu |
fonts-unfonts-core (Ubuntu): status |
Triaged |
Invalid |
|
2014-01-01 14:16:44 |
Changwoo Ryu |
openjdk-7 (Ubuntu): status |
Invalid |
Confirmed |
|
2014-01-03 07:04:40 |
enz |
removed subscriber enz |
|
|
|
2014-01-03 17:40:48 |
Ryan Tandy |
attachment added |
|
TestCase.java https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/937200/+attachment/3939929/+files/TestCase.java |
|
2014-01-03 18:57:17 |
Brian Murray |
tags |
amd64 apport-bug precise raring saucy |
amd64 apport-bug precise raring saucy trusty |
|
2014-01-04 09:41:28 |
pdknsk |
bug |
|
|
added subscriber pdknsk |
2014-01-06 23:03:57 |
Alberto Salvia Novella |
openjdk-7 (Ubuntu): status |
Confirmed |
Triaged |
|
2014-01-07 03:36:36 |
Ryan Tandy |
bug task added |
|
openjdk |
|
2014-01-07 22:09:44 |
bademux |
attachment added |
|
Without\With fix applied https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/937200/+attachment/3942840/+files/without-fix_with_fix.png |
|
2014-01-08 17:24:12 |
pdknsk |
attachment added |
|
java.png https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/937200/+attachment/3943753/+files/java.png |
|
2014-01-08 19:02:20 |
Géza Búza |
removed subscriber Géza Búza |
|
|
|
2014-01-24 21:35:29 |
Jeff Campbell |
bug |
|
|
added subscriber Jeff Campbell |
2014-01-30 05:57:16 |
Ryan Tandy |
openjdk: assignee |
|
Ryan Tandy (rtandy) |
|
2014-02-03 23:39:53 |
bademux |
attachment added |
|
Workspace 1_010.jpg https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/937200/+attachment/3968221/+files/Workspace%201_010.jpg |
|
2014-02-27 02:47:00 |
Ryan Tandy |
bug task deleted |
openjdk |
|
|
2014-02-27 08:07:45 |
p.tar |
removed subscriber p.tar |
|
|
|
2014-02-27 09:42:09 |
Alberto Salvia Novella |
removed subscriber Alberto Salvia Novella |
|
|
|
2014-03-17 06:58:20 |
Gianfranco Costamagna |
bug |
|
|
added subscriber Matthias Klose |
2014-03-23 14:04:39 |
pdknsk |
removed subscriber pdknsk |
|
|
|
2014-03-25 04:09:13 |
Ryan Tandy |
attachment added |
|
openjdk-7_7u51-2.4.5-1ubuntu2.debdiff https://bugs.launchpad.net/bugs/937200/+attachment/4041939/+files/openjdk-7_7u51-2.4.5-1ubuntu2.debdiff |
|
2014-03-25 04:34:47 |
Ryan Tandy |
tags |
amd64 apport-bug precise raring saucy trusty |
amd64 apport-bug patch precise raring saucy trusty |
|
2014-03-25 04:36:37 |
Ryan Tandy |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2014-03-31 13:50:05 |
Sebastien Bacher |
openjdk-7 (Ubuntu): status |
Triaged |
Fix Committed |
|
2014-03-31 13:50:15 |
Sebastien Bacher |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2014-03-31 13:51:02 |
Sebastien Bacher |
nominated for series |
|
Ubuntu Precise |
|
2014-03-31 13:51:02 |
Sebastien Bacher |
bug task added |
|
openjdk-7 (Ubuntu Precise) |
|
2014-03-31 13:51:02 |
Sebastien Bacher |
bug task added |
|
fonts-unfonts-core (Ubuntu Precise) |
|
2014-03-31 13:51:20 |
Sebastien Bacher |
openjdk-7 (Ubuntu Precise): importance |
Undecided |
Low |
|
2014-03-31 13:51:23 |
Sebastien Bacher |
openjdk-7 (Ubuntu Precise): status |
New |
Triaged |
|
2014-03-31 13:51:26 |
Sebastien Bacher |
fonts-unfonts-core (Ubuntu Precise): importance |
Undecided |
Low |
|
2014-03-31 13:51:28 |
Sebastien Bacher |
fonts-unfonts-core (Ubuntu Precise): status |
New |
Invalid |
|
2014-03-31 19:12:24 |
Ryan Tandy |
description |
Since I upgraded to Ubuntu 12.04 I noticed that the fonts in Java Swing applications use the bold font weight. This looks really ugly and takes up to much space.
1.
lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04
2.
apt-cache policy openjdk-7-jdk
openjdk-7-jdk:
Installiert: 7~b147-2.0-1ubuntu2
Kandidat: 7~b147-2.0-1ubuntu2
Versionstabelle:
*** 7~b147-2.0-1ubuntu2 0
500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
100 /var/lib/dpkg/status
3.
Applications rendering with normal fonts
4.
Applications rendering with bold fonts
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: openjdk-7-jdk 7~b147-2.0-1ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.92-0ubuntu1
Architecture: amd64
Date: Mon Feb 20 20:44:43 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: openjdk-7
UpgradeStatus: Upgraded to precise on 2012-02-16 (3 days ago) |
SRU justification:
[Impact]
When certain combinations of font packages are installed, the Java font loader may load certain fonts with some of their styles missing, meaning the wrong style is rendered when that font is chosen.
The most well-known example is on Ubuntu systems with fonts-unfonts-core installed (recommended by Wine): the Ubuntu font is loaded without its regular style, so in Swing applications using the GTK look and feel, the Ubuntu font is rendered in bold weight.
[Test Case]
1. Install openjdk-7-jdk, ttf-ubuntu-font-family, and fonts-unfonts-core.
2. Download the test case from comment #61: https://launchpadlibrarian.net/161520209/TestCase.java
3. Compile and run the test case:
javac TestCase.java
java TestCase
4. The expected output should begin with:
Font family: Ubuntu plain=** TrueType Font: Family=Ubuntu Name=Ubuntu [...]
The current (broken) output begins with:
Font family: Ubuntu plain=null bold=** TrueType Font: Family=Ubuntu Name=Ubuntu Bold [...]
Note "plain=null" in the broken output, meaning the bold style is going to be used when plain was requested.
[Regression Potential]
* The patch was authored by the maintainer of the surrounding code, and reviewed and accepted upstream.
* If there is a regression, it might be reported upstream against JDK8 or JDK9, so we should be aware of any upstream fixes in that part of the code.
* If there is a regression, the symptoms are likely to be similar to this bug: incorrect or incomplete font loading in certain configurations.
Original description:
Since I upgraded to Ubuntu 12.04 I noticed that the fonts in Java Swing applications use the bold font weight. This looks really ugly and takes up to much space.
1.
lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04
2.
apt-cache policy openjdk-7-jdk
openjdk-7-jdk:
Installiert: 7~b147-2.0-1ubuntu2
Kandidat: 7~b147-2.0-1ubuntu2
Versionstabelle:
*** 7~b147-2.0-1ubuntu2 0
500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
100 /var/lib/dpkg/status
3.
Applications rendering with normal fonts
4.
Applications rendering with bold fonts
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: openjdk-7-jdk 7~b147-2.0-1ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.92-0ubuntu1
Architecture: amd64
Date: Mon Feb 20 20:44:43 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: openjdk-7
UpgradeStatus: Upgraded to precise on 2012-02-16 (3 days ago) |
|
2014-03-31 19:12:58 |
Ryan Tandy |
attachment added |
|
debdiff for precise https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/937200/+attachment/4056163/+files/openjdk-7_7u51-2.4.4-0ubuntu0.12.04.3.debdiff |
|
2014-03-31 19:13:15 |
Ryan Tandy |
attachment added |
|
debdiff for saucy https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/937200/+attachment/4056164/+files/openjdk-7_7u51-2.4.4-0ubuntu0.13.10.2.debdiff |
|
2014-04-02 00:13:02 |
Launchpad Janitor |
openjdk-7 (Ubuntu): status |
Fix Committed |
Fix Released |
|
2014-04-30 13:21:12 |
Launchpad Janitor |
openjdk-7 (Ubuntu Precise): status |
Triaged |
Fix Released |
|