sun-java6-jdk specifies dejavu font, but doesn't depend on dejavu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sun-java6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Package sun-java6-jdk (and probably sun-java6-jre) both include a "jre/lib/
However there is no package dependency set for "dejavu", which means if the sun-java6-jdk package is installed, rendering text in a serif font falls back to the default, which is "Lucida Sans" - ie choosing font "Serif" gives sans-serif text.
Several solutions.
1. Remove custom font configuration for Ubuntu and use the default "fontconfig.
2. Make sun-java6-jdk depend on dejavu font being installed. If this route is taken, consider japanese, korean and chinese as well which depend on fonts "kochi mincho", "vigothic", "batang", "dotum" and "arphic"
3. Fix fontconfig.
Release: 10.04 onwards
sun-java6-jdk version: various, but at least since 1.6.0_17
This still applies in 1.6.0_26.
To speed things along I'm attaching a test case. To reproduce the issue.
1. Ensure the "dejavu" font is not installed - ie ensure package "ttf-dejavu" is not installed.
2. Install "sun-java6-jre" package.
3. Run the attached and open the "serif.png" file it creates. Note the lack of serifs.
to fix, either
4a. install "ttf-dejavu" package, or jvm/java- 6-sun/jre/ lib/fontconfig. Ubuntu. *
4b. remove /usr/lib/