Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX 11.0 - 11i Internationalization Features White Paper > Chapter 4 Asian System Environment (ASE)

ASE Changes [11i v1.6]

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This release of HP-UX introduces several new changes and enhancements to the Asian System Environment. This section presents a summary of these new features.

Changes Common to all ASEs

The following items apply to all of the ASEs.

True Type Fonts for Asian Languages

TrueType is a digital font technology consisting of TrueType fonts and the rasterizer. A TrueType font is a data file containing glyphs, the shape/outline of the characters. In addition to the shape and outline of the characters, it contains information such as character to glyph mapping tables, hinting properties, and other information needed to generate the bitmap image of characters. The rasterizer is a program that reads the font file to generate the bitmap images for display and printer devices.

The following items are related to this change:

  • This release provides TrueType fonts for HP-UX supported Asian languages/locales, including Japanese, Korean, and both Simplified Chinese and Traditional Chinese. Table 4-5 “Asian TrueType Fonts” illustrates the supported TrueType fonts.

    Table 4-5 Asian TrueType Fonts

    LanguageTypefaces/ Family NamesInstalled Directory
    Japanese

    HGMinchoL

    HGGothicB

    /usr/lib/X11/fonts/TrueType/japanese.st/typefaces
    Korean

    HYBatang

    HYDotum

    HYGulim

    HYGungsuh

    /usr/lib/X11/fonts/TrueType/korean.st/typefaces
    Simplified Chinese

    ZYCJKHei

    ZYCJKSun

    /usr/lib/X11/fonts/TrueType/chinese_s.st/typefaces
    Traditional Chinese

    ARMingtiL

    ARMingtiLHK

    /usr/lib/X11/fonts/TrueType/chinese_t.st/typefaces

     

  • To make use of the TrueType fonts, new mapping tables, tables that map local font indexing to Unicode font indexing, have been added. In addition to these fonts and mapping tables, CDE has provided enhancements to the config file used by the X font server to locate the fonts installed on the system. This enables the applications to get the glyph/character patterns automatically from the X Font server.

  • New size requirements for each language are introduced. Table 4-6 “Size Requirements” illustrates the size requirements.

    Table 4-6 Size Requirements

    TrueType Fonts

    Size
    Japanese

    32 MB

    Korean

    71 MB

    Chinese (Simplified)

    39 MB

    Chinese (Traditional)41 MB

     

  • The TrueType fonts in the X Window environment are available only through the X font server, xfs. To establish a host as a font server, start xfs as follows:

    /usr/bin/X11/xfs -port 7000 -daemon

    NOTE: See the xfs (1) man page for more details.
  • To ensure that the host is always configured to be the font server upon reboots, change the line in /etc/rc.config.d/xfs to:

    RUN_X_FONT_SERVER=1

  • To configure a host to use a font server (that is to configure your system as a font client), run the xset command as follows:

    xset +fp tcp/<hostname>:7000

    NOTE: See xset (1) man page for more details.

JSE

This section highlights the changes affecting the JSE.

ATOK X Japanese Input Method

This version of HP-UX includes ATOK X, one of the dominant input methods in the Japanese market. ATOK X is used in conjunction with CDE and the X Window System.

The following items that are applicable to this new input method:

  • ATOK X, the enhanced version of ATOK8, is new with this release. It includes the SuperATOK Kana-to-Kanji conversion engine and provides more comfortable and effective Japanese input. It also provides a migration capability of user-defined dictionary and key-mapping from the ATOK8, VJE-γ, and EGBridge input methods.

    Since the ATOK X has also been available in several Linux distributions as “ATOK X for Linux”, this release provides a compatible Japanese input method with a familiar look-and-feel for Linux users.

  • A change has been made on the dtimsstart menu, that has a new entry of “ATOK X”. Users can choose and invoke it among other Japanese input methods on the menu, controlled by the CDE login session.

  • ATOK X provides the following set of features:

    • SuperATOK Kana-to-Kanji conversion engine

    • Real-time warning for wrong input

    • Proper word selection by context analysis

    • Automatic correction for fuzzy input

    • Various customizable features

    • Various dictionary operations

    • Zip code dictionary

    • Migration for user-defined dictionary and key-mapping configuration from existing Japanese input methods

    • On-line HTML help

  • Because the ATOK X input method is a new feature for this release, there are no compatibility issues. However, as a benefit for users, ATOK X provides migration capability for the user-defined dictionary and key-mapping configuration, that have been created by the ATOK8, VJE-γ, and EGBridge input methods. The user can easily migrate from the previous Japanese input methods to ATOK X.

  • The VJE-γ and EGBridge input methods are obsolete and are not supplied in this and future releases. It is recommended that users using these input methods should adopt ATOK X or other supported Japanese input methods. The transition to ATOK X is simplified by the supplied migration features in the on-line help.

Obsolescence of VJE-γ and EGBridge Japanese Input Methods

Two Japanese input methods, VJE-γ and EGBridge have been obsoleted with the release of HP-UX 11i Version 1.6. This version of HP-UX provides migration tools to assist the user in moving to ATOK X.

Future releases of HP-UX will not provide two Japanese input methods, VJE-γ and EGBridge. that are used in conjunction with CDE and the X Window System. These two entries will also be removed from the dtimsstart menu.

Those who have used VJE-γ and EGBridge can easily migrate to ATOK X. ATOK X provides a mode of key mapping emulations of VJE-γ and EGBridge. ATOK X can import customized user-defined dictionaries created by VJE-γ or EGBridge.

ATOK X on-line help, available through the help icon on the ATOK X front panel provides:

  • The steps required to import user-defined dictionaries

  • A complete listing of key mapping emulations

  • Some restrictions

Japanese-specific Commands and Library Routines

Certain Japanese code conversion commands and routines, character handling routines, and Kana-to-Kanji conversion routines are restored in this release, in order to maintain binary compatibility with existing 10.20/11.00/11i v1 PA binary applications.

Because there is no intention to support new application development with these functions, header files, manual pages, and native IA library are not provided. These library routines can be found in /usr/lib/libjpn.1.

NOTE: For more details, refer to /usr/share/doc/JpnCmdLib.txt that describes the list of commands and routines supplied.

KSE

Other than the TrueType fonts, no new changes have been introduced for KSE with this release of HP-UX.

SSE

The following changes have been introduced to SSE with this release of HP-UX.

Support for the GB18030 Standard

The following items are applicable with the introduction of GB18030 Standard support:

  • PCL5.nloo is a printer model file that works with the lp subsystem to print text files containing Asian multibyte characters on a LaserJet (PCL5 emulation) that does not have any multibyte font DIMMs installed. PCL5.nloo is enhanced to print text files containing 2-byte and 4-byte characters whose patterns are defined in GB18030. PCL5.nloo can now also print text files containing Mongolian, Tibetan, Yi, and Uigur characters when zh_CN.gb18030 is designated as one of the print options.

    NOTE: PCL5.nloo does not use any Asian font DIMMs even if the LaserJet has the font DIMM installed.

    Table 4-7 GB18030-related Primary Printing Options

    Option

    Behavior
    zh_CN.gb18030designates the GB18030 2-byte and 4-byte text input
    half or 22-in-1 printing
    quarter or 44-in-1 printing

     

  • Because PCL5.nloo extracts the necessary glyph patterns from the simplified Chinese TrueType fonts through the X font server, it is required to install those TrueType fonts and invoke xfs in advance to run the lp command. Otherwise, no 2-byte and 4-byte characters can be printed.

    The following TrueType font is provided to support the printing of GB18030 characters:

    • ZYCJKSun

    NOTE: Refer to the “True Type Fonts for Asian Languages” of this chapter for more details.
  • Input Methods

    • XSIM, an input method for Simplified Chinese designed to work with CDE and the X Window System, now generates GB18030 2-byte and 4-byte characters in two ways:

      • Internal Code

        The Internal Code (hexadecimal code) input method supports generating all the characters in the valid code ranges defined for GB18030, regardless whether a pattern is defined, except for those defined in GB2312. In the Internal Code method, if the first two key inputs are from 81 to FE and the following two key inputs are from 40 to 7E or from 80 to FE, the XSIM generates one 2-byte character immediately after the fourth key is entered.

        If the first two key inputs are from 81 to FE, and the following two key inputs are from 30 to 39, XSIM WILL wait for another set of four key inputs, ranging from 81 to FE as the next two key inputs, and 30 to 39 as yet another two key inputs to generate one 4-byte character immediately after the eighth key is entered. XSIM beeps for any non-hexidecimal keys during four or eight key inputs.

      • PinYin

        The PinYin input method supports generating GB18030 2-byte Chinese characters only. It does not support 4-byte characters.

    • Other input methods, like Row-Column and 5-Stroke do not generate GB18030 characters except for those defined in GB2312.

TSE

The following changes have been introduced to TSE with this release of HP-UX.

Hong Kong Supplementary Character Set Enhancements

The following items are applicable to TSE with these new HKSCS enhancements.

  • Five new bitmap fonts are supplied to display all the characters defined in HKSCS in CDE and in the X Window System. Printer model files have also been enhanced to print all the HKSCS characters on HP legacy line printers, LaserJet printers supporting PCL5, and third-party printers using ESC/P emulation.

    Table 4-8 “New Bitmap Fonts” displays the five new bitmap fonts available under /usr/lib/X11/fonts/hp_chinese_t/75dpi along with fonts.alias. These fonts contain all the Big5 and HKSCS characters assigned to defined code points in the standard.

    Table 4-8 New Bitmap Fonts

    FilenameFontname
    sung18hh.pcf-hp-sung-medium-r-normal--18-180-75-75-c-160-hphkbig5-
    sung24hh.pcf-hp-sung-medium-r-normal--24-240-75-75-c-240-hphkbig5-
    sung34hh.pcf-hp-sung-medium-r-normal--34-340-75-75-c-340-hphkbig5-
    sung42hh.pcf-hp-sung-medium-r-normal--42-420-75-75-c-420-hphkbig5-
    sung50hh.pcf-hp-sung-medium-r-normal--50-500-75-75-c-500-hphkbig5-

     

  • XTIM allows the use of the big5 internal code input method to generate HKSCS characters. The user must enter the 4-digit hexadecimal code for the character.

  • The following printer model files that support the printing of HKSCS characters.

    • PCL5.nloo is a printer model file that works with the lp subsystem to print text files containing Asian multibyte characters on a LaserJet (PCL5 emulation) that does not have any multibyte font DIMMs installed. PCL5.nloo is enhanced to print text files containing Big5 and/or HKSCS characters when zh_HK.hkbig5 is designated as one of the print options. When zh_TW.utf8 is designated, PCL5.nloo prints text files containing UTF8 encoded Big5 and/or HKSCS characters. When zh_TW.big5 is designated, it prints text files containing only Big5 characters.

    NOTE: PCL5.nloo does not use any Asian font DIMM even if the LaserJet has the font DIMM installed.
    • ESCP is another printer model file to print Asian multibyte characters on ESC/P emulation printers. It requires that Asian fonts be previously installed in the printers.

    • hpc1205at is another printer model file to print on HP legacy HP C1200A/C1205A line printers. It requires printers to have the Big5 font installed.

    Table 4-9 HKSCS-related Primary Printing Options

    Option

    Behavior
    zh_HK.hkbig5

    Designates Big5 and HKSCS text input

    half or 22-in-1 printing
    quarter or 44-in-1 printing
    udc or udcfSpecify UDC file to print

     

NOTE: With this release of HP-UX, the zh_HK.big5 locale has been renamed to zh_HK.hkbig5.
  • CDE provides the same level of support for the zh_HK.hkbig5 locale as was provided at 11.11 for the zh_TW.big5 locale.

  • xudced, a User Defined Character (UDC) editor used to create/modify UDC files, has been enhanced to work with the zh_HK.hkbig5 locale. When the locale is designated, it starts with the first code point defined by HKSCS. Created UDCs can be printed on the previously mentioned printer models using the udc or udcf printing options.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2001-2003, 2005 Hewlett-Packard Development Company, L.P.