JDK-5080439 : Enable display of Vietnamese characters on Linux
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: linux
  • CPU: x86
  • Submitted: 2004-07-29
  • Updated: 2010-07-23
  • Resolved: 2010-07-23
Related Reports
Relates :  
Description
Name: jl125535			Date: 07/29/2004


A DESCRIPTION OF THE REQUEST :
Vietnamese characters are still not displayable in Swing components on Linux.

JUSTIFICATION :
This RFE is related to Bug ID 4932968, which called for support of Locale vi in Java. As a result of that RFE, Vietnamese can now be displayed in Swing components on Windows by default; however, the same capability is not yet supported on Linux as of Tiger beta3-b59. As the ability to render Vietnamese text is most critical in creating localized Java applications on Linux platform, built-in support for rendering Vietnamese characters is highly desired.


CUSTOMER SUBMITTED WORKAROUND :
On Linux Fedora Core 2, create and place in jre/lib directory a fontconfig.RedHat.properties with content:

# @(#)linux.fontconfig.properties   1.2 03/10/28
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
#

# Version

version=1

# Component Font Mappings

allfonts.vietnamese=-monotype-arial-medium-r-normal--*-%d-*-*-p-*-iso10646-1

# Search Sequences

sequence.allfonts=vietnamese

# Exclusion Ranges

exclusion.vietnamese=0250-1e9f,1f00-20aa,20ad-ffff
(Incident Review ID: 290269) 
======================================================================
###@###.### 10/5/04 00:51 GMT

Comments
EVALUATION In JDK7, font config properties are automatically generated. Vietnamese is displayed correctly. Closing as Not Repro.
23-07-2010