Broken fonts after update

Bug #1338897 reported by Ivan Borzenkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Iced Tea
Fix Released
Wishlist
openjdk-7 (Debian)
Fix Released
Unknown
openjdk-7 (Ubuntu)
Fix Released
Undecided
billhuey

Bug Description

after update
openjdk-7-jdk:i386 7u55-2.4.7-1ubuntu1 -> 7u60-2.5.0-0ubuntu3
or
openjdk-7-jdk:i386 7u60-2.5.0-0ubuntu3 -> 7u60-2.5.0-1ubuntu3
broken fonts

Revision history for this message
In , Andrew John Hughes (ahughes) wrote :
Revision history for this message
In , Mercurial (mercurial) wrote :

details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=9705894e1370
author: andrew
date: Thu Jun 12 21:14:44 2014 +0100

 PR1839, G478960: Provide Infinality Support via fontconfig
 Summary: Adapt fontfix patch, which uses fontconfig for font rendering, to apply only when INFINALITY_SUPPORT=true
 Contributed-by: Trustin Lee, Aleksandar Antok (fontfix patch from https://gist.github.com/aleksandara/2963640)

Revision history for this message
In , Mercurial (mercurial) wrote :

details: http://icedtea.classpath.org//hg/release/icedtea7-2.5?cmd=changeset;node=012d523c56c9
author: Andrew John Hughes <email address hidden>
date: Fri Jun 13 01:30:38 2014 +0100

 Update to icedtea-2.5pre08.
 PR1736: AWT loads gtk3 in all the look and feel configurations
 PR1808: Type-punning Warnings in Demos on PPC
 PR1835: Missing file in backport of ppc64le JIT support
 PR1839, G478960: Provide Infinality Support via fontconfig
 PR729: GTKLookAndFeel should be the system look&feel on all GNU/Linux desktops

 2014-06-12 Andrew John Hughes <email address hidden>

  * AUTHORS:
  Add authors of infinality patch. Websites are used
  as present as couldn't find any e-mail addresses.
  * INSTALL: Document --enable-infinality.
  * Makefile.am:
  (CORBA_CHANGESET): Update to icedtea-2.5pre08 tag.
  (JAXP_CHANGESET): Likewise.
  (JAXWS_CHANGESET): Likewise.
  (JDK_CHANGESET): Likewise.
  (LANGTOOLS_CHANGESET): Likewise.
  (OPENJDK_CHANGESET): Likewise.
  (CORBA_SHA256SUM): Likewise.
  (JAXP_SHA256SUM): Likewise.
  (JAXWS_SHA256SUM): Likewise.
  (JDK_SHA256SUM): Likewise.
  (LANGTOOLS_SHA256SUM): Likewise.
  (OPENJDK_SHA256SUM): Likewise.
  (DROP_URL): Added to point to drops on IcedTea server.
  (CACAO_BASE_URL): Reference DROP_URL.
  (JAMVM_BASE_URL): Likewise.
  (ICEDTEA_MAJOR): Split out major release name ('IcedTea7')
  (ICEDTEA_BRANCH): Split out branch version ('2.5')
  (ICEDTEA_PREFIX): Use ICEDTEA_MAJOR and ICEDTEA_BRANCH.
  (ICEDTEA_URL): Path to drops.
  (OPENJDK_URL): Removed.
  (CORBA_URL): Likewise.
  (JAXP_URL): Likewise.
  (JAXWS_URL): Likewise.
  (JDK_URL): Likewise.
  (LANGTOOLS_URL): Likewise.
  (HS_TYPE): Added. Differentiate between a drop tarball
  and a hg archive in hotspot.map.
  (HS_URL): Bump field number by 1 following addition of type.
  (HS_CHANGESET): Likewise.
  (HS_SHA256SUM): Likewise.
  (OPENJDK_SRC_ZIP): Change suffix to bz2.
  (CORBA_SRC_ZIP): Likewise.
  (JAXP_SRC_ZIP): Likewise.
  (JAXWS_SRC_ZIP): Likewise.
  (JDK_SRC_ZIP): Likewise.
  (LANGTOOLS_SRC_ZIP): Likewise.
  (HOTSPOT_SRC_ZIP): Likewise.
  (ICEDTEA_ENV): Set INFINALITY_SUPPORT=true when
  infinality is enabled.
  (download-openjdk): Use ICEDTEA_URL for all drops.
  (download-hotspot); Support HS_TYPE, appending
  "archive/$(HS_CHANGESET)" to hg archive URLs and
  "$(HOTSPOT_SRC_ZIP)" to drop URLs.
  (ADD_ZERO_CONFIGURE_ARGS): Change suffix to bz2.
  * NEWS: Updated.
  * acinclude.m4:
  (IT_ENABLE_INFINALITY): Macro for new option.
  * configure.ac: Invoke IT_ENABLE_INFINALITY instead
  of its dependency, IT_CHECK_FOR_FONTCONFIG. Bump to
  pre08.
  * hotspot.map: Update to icedtea-2.5pre08tag. Set
  type of default to drop and aarch64 to hg.

Revision history for this message
In , Suillaume (suillaume) wrote :

Hi,

We (Arch Linux) are experiencing a bug that must be related to this commit.

The complete bug report is available here [0].

Short version is: since IcedTea 2.5.0, some Java app with GUI do not display texts any more. Building our package with `--enable-infinality=no` circumvents the issue.

FYI, the complete build source is available here [1] (infinality disable not actually displayed on this source).

Any idea if this **is** a bug or maybe just a configuration or dependency issue?

Thanks,

[0] https://bugs.archlinux.org/task/40871
[1] https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/java7-openjdk

Revision history for this message
Matthias Klose (doko) wrote :

what is "broken"?

Changed in openjdk-7 (Ubuntu):
status: New → Incomplete
Revision history for this message
Ivan Borzenkov (ivan1986) wrote :
Revision history for this message
Ivan Borzenkov (ivan1986) wrote :
Revision history for this message
Ivan Borzenkov (ivan1986) wrote :

when switch to openjdk6 or sun java - fonts is normal

Steve Langasek (vorlon)
Changed in openjdk-7 (Ubuntu):
assignee: nobody → billhuey (bill-huey)
Revision history for this message
Steve Langasek (vorlon) wrote :

reproduced by installing 'jmapviewer' from the archive on Ubuntu desktop.

Changed in openjdk-7 (Debian):
status: Unknown → New
Revision history for this message
Matthias Klose (doko) wrote :

seen with both trusty and utopic.

disabling the local patches

  debian/patches/jdk-freetypeScaler-crash.diff
  debian/patches/jdk-bold-swing-fonts.patch

doesn't fix it.

Not seen with openjdk-8 in utopic

Changed in icedtea:
importance: Unknown → Wishlist
status: Unknown → In Progress
Revision history for this message
In , Classpath-apriori (classpath-apriori) wrote :

With infinality-patched libs installed, the previous Archlinux build with infinality-support included was working fine for me. Did the bug just hit folks who did not have infinality font rendering installed?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openjdk-7 - 7u60-2.5.0-2ubuntu1

---------------
openjdk-7 (7u60-2.5.0-2ubuntu1) utopic; urgency=medium

  * Merge with Debian; remaining changes:
    - Build using a different .orig.tar.gz.
    - Add the IcedTea Sound tarball as an uuencoded file.
    - debian/generate-debian-orig.sh: Rename the debian checkout.

openjdk-7 (7u60-2.5.0-2) unstable; urgency=high

  * Refresh KFreeBSD patches (Steven Chamberlain). Closes: #754214.
  * Backport S7179339, xrender pipeline creates graphics corruption.
    (Matthias Bläsing). LP: #1101348.
  * Configure with --disable-infinality. Closes: #754343. LP: #1338897.
 -- Matthias Klose <email address hidden> Thu, 10 Jul 2014 18:04:57 +0200

Changed in openjdk-7 (Ubuntu):
status: Incomplete → Fix Released
Changed in openjdk-7 (Debian):
status: New → Fix Released
Revision history for this message
In , Andrew John Hughes (ahughes) wrote :

It sounds likely. I don't think there's a bug here, as there's already the option to disable infinality. I may make it default to being off though.

Revision history for this message
In , Mercurial (mercurial) wrote :

details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=9ff90d1818b1
author: andrew
date: Thu Jun 12 21:14:44 2014 +0100

 PR1839, G478960: Provide Infinality Support via fontconfig
 Summary: Adapt fontfix patch, which uses fontconfig for font rendering, to apply only when INFINALITY_SUPPORT=true
 Contributed-by: Trustin Lee, Aleksandar Antok (fontfix patch from https://gist.github.com/aleksandara/2963640)

Revision history for this message
In , Mercurial (mercurial) wrote :
Download full text (3.5 KiB)

details: http://icedtea.classpath.org//hg/icedtea7?cmd=changeset;node=8cc9f91d6085
author: Andrew John Hughes <email address hidden>
date: Fri Aug 01 15:31:11 2014 +0100

 Update to icedtea-2.6pre05.
 Fix merge duplication in com.sun.script.javascript.RhinoTopLevel
 PR1736: AWT loads gtk3 in all the look and feel configurations
 PR1781: NSS PKCS11 provider fails to handle multipart AES encryption
 PR1786: Allow x86 build to occur on x86_64 using a previously built x86_64 build
 PR1808: Type-punning Warnings in Demos on PPC
 PR1839, G478960: Provide Infinality Support via fontconfig
 PR1853: Revert PR729 from minor release
 PR1864: PCSC + OpenJDK 1.7 crash on Fedora 20
 PR1868: Avoid x86 workaround when running Zero rather than a JIT
 PR729: GTKLookAndFeel should be the system look&feel on all GNU/Linux desktops
 RH1059925: RFE: Version Java libraries to allow using multiple Java versions with Linux capabilities enabled
 RH905128: [CRASH] OpenJDK-1.7.0 while using NSS security provider and kerberos
 S8012224: AWT_TopLevels/TopLevelEvents/Automated/WindowIconifyDeiconifyEventsTest02 fails on Ubuntu 12.04 Unity shell
 S8038392, RH1064383: Generating prelink cache breaks JAVA 'jinfo' utility normal behavior
 S8042309: Some bugfixes for the ppc64 port

 2014-07-31 Andrew John Hughes <email address hidden>

  * Makefile.am:
  (CORBA_CHANGESET): Update to icedtea-2.6pre05 tag.
  (JAXP_CHANGESET): Likewise.
  (JAXWS_CHANGESET): Likewise.
  (JDK_CHANGESET): Likewise.
  (LANGTOOLS_CHANGESET): Likewise.
  (OPENJDK_CHANGESET): Likewise.
  (CORBA_SHA256SUM): Likewise.
  (JAXP_SHA256SUM): Likewise.
  (JAXWS_SHA256SUM): Likewise.
  (JDK_SHA256SUM): Likewise.
  (LANGTOOLS_SHA256SUM): Likewise.
  (OPENJDK_SHA256SUM): Likewise.
  * NEWS: Updated.
  * configure.ac: Bump to pre05.
  * hotspot.map: Update to icedtea-2.6pre05tag. Set
  type of default to drop and aarch64 to hg.
  * patches/rhino.patch: Regenerated following
  removal of merge artefact.

 2014-06-12 Andrew John Hughes <email address hidden>

  * AUTHORS:
  Add authors of infinality patch. Websites are used
  as present as couldn't find any e-mail addresses.
  * INSTALL: Document --enable-infinality.
  * Makefile.am:
  (DROP_URL): Added to point to drops on IcedTea server.
  (CACAO_BASE_URL): Reference DROP_URL.
  (JAMVM_BASE_URL): Likewise.
  (ICEDTEA_MAJOR): Split out major release name ('IcedTea7')
  (ICEDTEA_PREFIX): Use ICEDTEA_MAJOR.
  (ICEDTEA_URL): Path to drops.
  (OPENJDK_URL): Removed.
  (CORBA_URL): Likewise.
  (JAXP_URL): Likewise.
  (JAXWS_URL): Likewise.
  (JDK_URL): Likewise.
  (LANGTOOLS_URL): Likewise.
  (HS_TYPE): Added. Differentiate between a drop tarball
  and a hg archive in hotspot.map.
  (HS_URL): Bump field number by 1 following addition of type.
  (HS_CHANGESET): Likewise.
  (HS_SHA256SUM): Likewise.
  (OPENJDK_SRC_ZIP): Change suffix to bz2.
  (CORBA_SRC_ZIP): Likewise.
  (JAXP_SRC_ZIP): Likewise.
  (JAXWS_SRC_ZIP): Likewise.
  (JDK_SRC_ZIP): Likewise.
  (LANGTOOLS_SRC_ZIP): Likewise.
  (HOTSPOT_SRC_ZIP): Likewise.
  (ICEDTEA_ENV): Set INFINALITY_SUPPORT=true when
  infinality is enabled.
  (download-openjdk): Use ICEDTEA_URL for all drops.
  (download-...

Read more...

Changed in icedtea:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.