@Matthias Klose:
> fonts-unfonts-core advertises a font which it doesn't support
How do you know that?
So far I could reliably reproduce that removing at least one of the following fonts fixes the probem: UnBatangBold, UnDotum (both in /usr/share/fonts/truetype/unfonts-core).
Note that you have to wait a few seconds for fontconfig(?) to recognize the removal of a font file.
If a JDK fontconfig file as in comment #48 should be used to fix this bug, make sure all font paths are right, e.g. in #48 the unfonts path is wrong.
The following line of "fontconfig.Ubuntu.properties.src" from #48 is the one that fixes the bug at least in simple test cases:
filename.-dejavu-dejavu_serif-medium-r-normal--*-%d-*-*-p-*-iso10646-1=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf
You can compile and install the src file e.g. via:
java -jar /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/compilefontconfig.jar ./fontconfig.Ubuntu.properties.src ./fontconfig.Ubuntu.bfc
sudo cp ./fontconfig.Ubuntu.bfc /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/
I have attached a simple test case. If the bug appears, it will output "Ubuntu Bold", otherwise just "Ubuntu".
@Matthias Klose:
> fonts-unfonts-core advertises a font which it doesn't support
How do you know that?
So far I could reliably reproduce that removing at least one of the following fonts fixes the probem: UnBatangBold, UnDotum (both in /usr/share/ fonts/truetype/ unfonts- core).
Note that you have to wait a few seconds for fontconfig(?) to recognize the removal of a font file.
If a JDK fontconfig file as in comment #48 should be used to fix this bug, make sure all font paths are right, e.g. in #48 the unfonts path is wrong. Ubuntu. properties. src" from #48 is the one that fixes the bug at least in simple test cases: -dejavu- dejavu_ serif-medium- r-normal- -*-%d-* -*-p-*- iso10646- 1=/usr/ share/fonts/ truetype/ ttf-dejavu/ DejaVuSerif. ttf jvm/java- 7-openjdk- amd64/jre/ lib/compilefont config. jar ./fontconfig. Ubuntu. properties. src ./fontconfig. Ubuntu. bfc Ubuntu. bfc /usr/lib/ jvm/java- 7-openjdk- amd64/jre/ lib/
The following line of "fontconfig.
filename.
You can compile and install the src file e.g. via:
java -jar /usr/lib/
sudo cp ./fontconfig.
I have attached a simple test case. If the bug appears, it will output "Ubuntu Bold", otherwise just "Ubuntu".
I have also checked if the commit http:// bazaar. launchpad. net/~ubuntu- branches/ ubuntu/ raring/ fonts-unfonts- core/raring/ revision/ 5 introduced this bug, though this is not the case.