Comment 0 for bug 799451

Revision history for this message
Ulf Möller (jail) wrote :

Thai and Khmer script are not displayed in Java applications (e.g. JOSM).

The fonts need to be added to /etc/java-6-openjdk/fontconfig.properties:

filename.Garuda=/usr/share/fonts/truetype/thai/Garuda.ttf
filename.KhmerOS=/usr/share/fonts/truetype/ttf-khmeros-core/KhmerOS.ttf
allfonts.thai=Garuda
allfonts.khmer=KhmerOS

Add thai, khmer to sequence.fallback:

sequence.fallback=wqy-microhei,uminghk,shanheisun,wqy-zenhei,japanese-vlgothic,japanese-sazanami,japanese-kochi,korean-un,korean-baekmuk,bengali,gujarati,hindi,oriya,punjabi,tamil,telugu,thai,khmer

Garuda Bold and Oblique could be added similary.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: openjdk-6-jre 6b22-1.10.2-0ubuntu1~11.04.1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Sun Jun 19 17:37:21 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110426)
ProcEnviron:
 LANGUAGE=de_DE:en
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: openjdk-6
UpgradeStatus: No upgrade log present (probably fresh install)