Thai and Khmer script not available

Bug #799451 reported by Ulf Möller
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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

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

filename.Loma=/usr/share/fonts/truetype/thai/Loma.ttf
filename.KhmerOS=/usr/share/fonts/truetype/ttf-khmeros-core/KhmerOS.ttf
allfonts.thai=Loma
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

Ohter fonts 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)

Revision history for this message
Ulf Möller (jail) wrote :
Ulf Möller (jail)
description: updated
Ulf Möller (jail)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-6 (Ubuntu):
status: New → Confirmed
Revision history for this message
mrityunjaya (khmertest) wrote :

Hi ,
I am facing an issue with khmer language.The resolutions seems to be Adding Fallback font.
Could any one help me provide the exact steps how to add a fallback font in java fontconfig.properties.

I see that i have Khmer UI font under /windows7/control panel/fonts
where can i find the ttf file for khmer ?
Do i need to instal this font.
I am using java 8 and my OS is win7

I would really appreciate if you could provide some guidance.
Thanks
Mrityunjaya

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.