Developer's Toolkit Release Notes for HP-UX 11i
10 Chapter 1
Announcements
Product
• XmbResetIC()
•XIMOfIC()
•XSetICValues()
•XGetICValues()
The new X11R6 functionality gives applications greater control and more
flexibility than the HP proprietary functions.
Changes in Keyboard Functionality
XHPSetKeyboardMapping() and two related functions,
XHPRefreshKeyboardMapping() and XHPSetKbdMapInit(), are
obsolete. These functions were used to change an application's local copy
of the keymap in order to emulate a particular national language
keyboard. These functions only worked for HP HIL keyboards. Although
the functionality has been removed, stub APIs are provided so that older
applications may still compile.
In HP-UX 9.*, many applications (such as vuepad and hpterm) use
XHPSetKeyboardMapping() to set the keyboard language by passing the
value of the KBD_LANG environment variable. As of 10.0, HP VUE no
longer sets the KBD_LANG environment variable. Clients and libraries
have removed the call to XHPSetKeyboardMapping() since its behavior is
not reliable in a mixed DIN and HIL keyboard environment.
Rendering International Characters
In X11R3 and X11R4, support for rendering Asian characters was done
through a proprietary mechanism called the associate font mechanism.
In HP-UX 9.*, rendering of Asian character data requires that two fonts
be opened to correctly render all Asian characters. When an Asian font
was opened with XLoadFont() or XLoadQueryFont(), the font was
checked for the existence of an associate font property. If this property
existed, an additional font was opened and maintained transparent to
the application. All calls to calculate metrics or to perform rendering
with the font caused the implementation to also use the associate font
when present.
With support for 3-byte EUC and 4-byte EUC with HP-UX 10.0,
rendering Asian character data often requires that more than two fonts
be opened and used when rendering Asian character data. The old
associate font mechanism could not be reliably expanded to handle these