← Back to team overview

openjdk team mailing list archive

[Bug 799451] Re: Thai and Khmer script not available

 

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

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/799451

Title:
  Thai and Khmer script not available

Status in openjdk-6 package in Ubuntu:
  Confirmed

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/799451/+subscriptions


References