[Bug 1799014] Re: bold font rendeing in Java is broken in Cosmic with OpenJDK 11

Launchpad Bug Tracker 1799014 at bugs.launchpad.net
Tue Apr 16 16:29:23 UTC 2019


This bug was fixed in the package openjdk-lts -
11.0.2+9-3ubuntu1~18.04.3

---------------
openjdk-lts (11.0.2+9-3ubuntu1~18.04.3) bionic-security; urgency=medium

  * Backport from Disco. LP: #1814133.
  * Revert to GTK2 as default as GTK3 still has padding and component issues,
    apply upstream changeset to fix a few GTK3 components: LP: #1770278.
    - debian/patches/jdk-improve-gtk3-compatibility.patch: upstream fix for
      JDK-8218469, JDK-8218470, JDK-8218472, and JDK-8203627.
    - debian/patches/keep-gtk2-as-default.patch: revert upstream so GTK2 is
      loaded before GTK3 when available.
    - debian/rules, debian/control: remove libgtk-3-dev from build depends
      as it is not required for building; set jre to depend on libgtk2.0-0
      and alternatively to libgtk-3-0.
  * Adds breaks clause to prevent openjdk-11-jre-headless from being updated
    when jetty9, netbeans, tomcat8, or visualvm are being hold back in
    unattended-upgrades due to local conffiles changes.

openjdk-lts (11.0.2+9-3ubuntu1) disco; urgency=medium

  * Sync packages with 11.0.2+9-3:
    - Fix Zero on sparc64 (Adrian Glaubitz). Closes: #920315.
    - Link zero on alpha with --no-relax (Michael Cree). Addresses: #920161.
    - Don't run the tests on alpha, causing build failure.
    - jhsdb isn't built on alpha.
    - Backport the fix for 8214002 (cannot use italic font style if the font
      has embedded bitmap). LP: #1799014.
  * Sync packages with 11.0.2+9-2:
    - Fix file permissions for autopkg tests.

openjdk-lts (11.0.2+9-1ubuntu3) disco; urgency=medium

  * Fix file permissions for autopkg tests.

openjdk-lts (11.0.2+9-1ubuntu1) disco; urgency=medium

  * Sync packages with 11.0.2+9-1:
    - OpenJDK 11.0.2 release (build 9).

    - Backport the fix for S8212233. Closes: #920020, #919798.
    - debian/buildwatch.sh: use same code from openjdk-8.
    - debian/control.in, debian/control:
      - add fixed build depends for jtreg and xfvb.
      - remove Conflicts: oracle-java11-installer. (LP: #1782630)
    - debian/rules:
      - call the same testsuites scripts used for autopkgtest.
      - removed jtreg and xvfb build dependency logic and moved the bdeps
        into debian/control.in.
      - added gen-autopackage rule to generate autopkgtest scripts from
        templates.
      - copy flight recorder configuration files.
      - fix logging in langtools testing.
      - don't ignore/exclude the release file from the jdk package, it is
        required by jtreg tests and autopkgtests will fail without it.
      - don't run nashorn testsuite.
    - update dep8 tests:
      - debian/tests/control: updated to run openjdk-11 tests.
      - debian/tests/hotspot, debian/tests/jaxp, debian/tests/jdk,
        debian/tests/langtools: use the new jt .sh scripts.
      - debian/tests/jtdiff-autopkgtest.sh: diff build time and autopkgtest
        JTreports to show what changed.
      - debian/tests/jtreg-autopkgtest.in: template to generate the jtreg
        script used by the autopkgtest tests.
      - debian/tests/jtdiff-autopkgtest.sh: used by the scripts to report
        any differences between the autopkgtest and the tests results
        generated during the openjdk package build.
      - debian/tests/jtreg-autopkgtest.sh: used by the scripts to run jtreg
        and put the resulting artifacts in the right places, by default will
        remove all non .jtr files after it is done to preserve space.
      - debian/tests/hotspot, debian/tests/jaxp, debian/tests/jdk,
        debian/tests/langtools: run same testsuites as build time and
        compare the results.
      - debian/tests/valid-tests: no longer needed, removed.

  * Sync packages with 11.0.2+7-1:
    - OpenJDK 11.0.2 release.

    - Update VCS attributes in the control file. Closes: #909736.
    - Prefer OpenJDK 11 over OpenJDK 10 as the bootstrap OpenJDK for
      recent releases. Closes: #915600.

openjdk-lts (11.0.1+13-3ubuntu1) disco; urgency=medium

  * Sync packages with 11.0.1+13-3:
    - Tighten dependency on debhelper on recent releases. Closes: #911694.
    - Reproducible properties file header when SOURCE_DATE_EPOCH is specified.
      Closes: #914278.
    - Add SOURCE_DATE_EPOCH support to the javadoc tool. Closes: #783938.
    - Disable AArch64 intrinsics for sin, cos and log. Closes: #910188.
      LP: #1796982.
    - Add support for DEB_BUILD_OPTIONS=terse. Closes: #912211.

openjdk-lts (11.0.1+13-2ubuntu1) cosmic; urgency=medium

  * Sync packages with 11.0.1+13-2:
    - OpenJDK 11.0.1 releae
    - debian/rules:
      - limit the tests that we run for the hotspot, langtools,
        and jdk testsuites to improve build times and also to
        prevent running unstable or failing tests.
      - fix 'if' clause for definition of the TIME command.
      - remove guava jar from test classpath, no longer required.
    - debian/control, debian/control.in: add a breaks clause to
      clojure1.8 <= 1.8.0-7ubuntu1~.

openjdk-lts (11~28-3ubuntu1) cosmic; urgency=medium

  * Sync packages with 11~28-3.
  * First OpenJDK 11 release.

openjdk-lts (10.0.2+13-1ubuntu1) cosmic; urgency=medium

  * Sync packages with 10.0.2+13-1:
    - OpenJDK 10.0.2+13 release.
      - CVE-2018-2972, S8200332: Improve GCM counting.
      - CVE-2018-2952, S8199547: Exception to Pattern Syntax.
      - S8191239: Improve desktop file usage.
      - S8193419: Better Internet address support.
      - S8197925: Better stack walking.
      - S8200666: Improve LDAP support.
    - Explicitly build-depend on libfontconfig1-dev, explicitly depend
      on libfontconfig1. LP: #1780151. See #793210.
    - Build using GCC 8.
    - Configure with --with-native-debug-symbols=internal.
    - OpenJDK 10.0.1+10 also addressed CVE-2018-2825 and CVE-2018-2826.

 -- Tiago Stürmer Daitx <tiago.daitx at ubuntu.com>  Tue, 26 Mar 2019
20:57:06 +0000

** Changed in: openjdk-lts (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2018-2825

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2018-2826

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2018-2952

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2018-2972

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1799014

Title:
  bold font rendeing in Java is broken in Cosmic with OpenJDK 11

Status in openjdk-lts package in Ubuntu:
  Fix Released
Status in openjdk-lts source package in Bionic:
  Fix Released
Status in openjdk-lts source package in Cosmic:
  Fix Released
Status in openjdk-11 package in Debian:
  Fix Released

Bug description:
  Since update to Cosmic, I see that bold fonts in Java have broken
  rendering. See attached 400% scaled PNG for illustration. The 'r' in
  bold rendering of "Hello World" shows basically a vertical line from
  the end of the hook end. I am not entirely sure this is freetype issue
  but some sources (https://github.com/adobe/brackets/issues/14290)
  suggest there is a bug in the 2.8.1 version that Cosmic seems to
  install (libfreetype6/cosmic,now 2.8.1-2ubuntu2 amd64 [installed]).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1799014/+subscriptions



More information about the Ubuntu-sponsors mailing list