fontconfig.properties broken for chinese fonts

Bug #213925 reported by Larry
2
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Font file names need to be updated to point to the proper arphic chinese font files. The result is that java applications are unable to display certain chinese characters and instead display squares.
user@qq:~$ lsb_release -rd
Description: Ubuntu hardy (development branch)
Release: 8.04
user@qq:~$ apt-cache policy sun-java6-jre
sun-java6-jre:
  Installed: 6-05-0ubuntu1
  Candidate: 6-05-0ubuntu1
  Version table:
 *** 6-05-0ubuntu1 0
        500 http://archive.ubuntu.com hardy/multiverse Packages
        100 /var/lib/dpkg/status
user@qq:~$

Revision history for this message
Larry (larry-salibra) wrote :
Revision history for this message
Larry (larry-salibra) wrote :

The uming font file ends in .ttc not .ttf. The above patch should fix the bug.

Revision history for this message
Larry (larry-salibra) wrote :

any chance of this getting this in to 8.04 LTS? bug breaks java for 1.4+ billion users

Revision history for this message
James Stansell (jamesstansell) wrote :

Was this fixed by a recent change in the openjdk-6 package?

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

This bug was fixed in the package sun-java6 - 6-06-0ubuntu1

---------------
sun-java6 (6-06-0ubuntu1) hardy; urgency=low

  * New upstream bug fix release.
    - Release notes at http://java.sun.com/javase/6/webnotes/ReleaseNotes.html.
    - Fixes Xlib/XCB locking problems. LP: #86103. Closes: #414535.
    - Update timezone information. Closes: #468234.
  * Don't open the control panel when starting a WebStart application.
    LP: #84501.
  * javaws.desktop: Add `%u' to the Exec key, remove -viewer option.
    Closes: #436645.
  * Suggest ttf-wqy-zenhei instead of ttf-arphic-uming (only available in .ttc
    format not supported by Sun Java) (Arne Goetje). LP: #213925.
  * Only use the basename for icons in desktop files. LP: #207413.
  * Add XS-Autobuild: yes attribute. Closes: #473164.
  * ia32-sun-java6-bin: Recommend lib32nss-mdns on amd64. Closes: #430917.
  * JB-bin.postinst.in: Call java -client -Xshare:dump with -Xmx1m, if the
    memory is available. Closes: #425654, #428654.
  * binfmt-support: Handle /usr/share/binfmts/jar as a slave symlink of
    the jexec alternative, install the binfmt file in the jre libdir.
    Use the jexec alternative in the binfmt file.
  * Don't fail on removal, if /var/lib/binfmts/openjdk-6 is missing.
    Closes: #441880.
  * README.Debian: Clarify about configuring the ControlPanel. Closes: #459435.
  * Don't include empty directories in /usr/share. Closes: #472995.

 -- Matthias Klose <email address hidden> Wed, 16 Apr 2008 01:02:07 +0200

Changed in sun-java6:
status: New → Fix Released
Revision history for this message
Hongwei (hongwei-zeng) wrote :

still seeing wrong file path in fontconfig.properties in version 6-15-1:

filename.-arphic-ar_pl_shanheisun_uni-medium-r-normal--*-*-*-*-p-*-iso10646-1=/usr/share/fonts/truetype/arphic/uming.ttf
filename.-arphic-ar_pl_uming_uni-medium-r-normal--*-*-*-*-p-*-iso10646-1=/usr/share/fonts/truetype/arphic/uming.ttf

where uming.ttf should be uming.ttc.

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.