24.05.2014 Views

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• XGetOMValues()<br />

• XDisplayOfOM()<br />

• XLocaleOfOM()<br />

8.2.24.2 Output Context Functions<br />

An output context is an abstraction that contains both the data required by an<br />

output method and the information required to display that data. There can be<br />

multiple output contexts for one output method. The programming interfaces for<br />

creating, reading, or modifying an output context use a variable argument list.<br />

The name elements of the argument lists are referred to as XOCvalues. It is<br />

intended that output methods be controlled by these XOCvalues. As new<br />

XOCvalues are created, they should be registered with the X Consortium. An<br />

XOC can be used anywhere an XFontSet() can be used, and conversely.<br />

The concepts of output methods and output contexts include broader, more<br />

generalized, abstraction than font set, supporting complex and more intelligent<br />

text display, and dealing not only with multiple fonts but also with context<br />

dependencies. However, XFontSet() is widely-used in several interfaces, so XOC<br />

is defined as an upward-compatible type of XFontSet().<br />

8.2.25 X11R6 NLS Database<br />

The locale sensitive functions in Xlib refer to the X NLS database or X Locale<br />

Database. The Locale Database is the internationalized portion of Xlib but is not<br />

actually part of Xlib itself. This allows easier customizing of the X Locale<br />

Database without affecting the X environment.<br />

In X11R6 the constituent elements of an X NLS database are:<br />

• locale_name/XLC_LOCALE<br />

• locale_name/Compose<br />

• locale.alias<br />

• locale.dir<br />

• locale.ldx<br />

• compose.dir<br />

• tbl_data/charset_table<br />

In X11R6 the location of the NLS database has changed from that of X11R5.<br />

Currently, the X11R5 NLS database is found under /usr/lib/X11/nls, and the<br />

X11R6 NLS database is found under /usr/lib/X11/locale. This is of importance<br />

from a binary-compatibility standpoint with X11R5 libX11.a provided for<br />

backwards-compatibility.<br />

Each locale database file (XLC_LOCALE) contains one or more category<br />

definitions. In X11R6, the category XLC_FONTSET defines the XFontSet-related<br />

information, and the category XLC_XLOCALE defines the character classification<br />

and encoding conversion information.<br />

8.2.25.1 XLC_FONTSET Category<br />

The XLC_FONTSET category defines the XFontSet relative information. It<br />

contains the CHARSET_REGISTRY_CHARSET_ENCODING name and<br />

210 <strong>AIX</strong> <strong>Version</strong> <strong>4.3</strong> <strong>Differences</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!