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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

XIC Value Supported as XIC Value Optional in R6<br />

XNHotKey Yes Optional<br />

XNHotKeyState<br />

XNInputStyle<br />

XNLineSpacing<br />

XNPreeditCallbacks<br />

Yes<br />

Yes<br />

Yes<br />

Yes<br />

XNPreeditState Yes Optional<br />

XNPreeditStateNotifyCallback<br />

Yes<br />

XNResetState Yes Optional<br />

XNResourceClass<br />

XNResourceName<br />

XNStatusCallbacks<br />

Yes<br />

Yes<br />

Yes<br />

XNStringConversion No Optional<br />

XNStringConversionCallback No Optional<br />

8.2.24 X Output Method<br />

Locale-dependent text may include one or more text components, each of which<br />

may require different fonts and character set encodings. In some languages,<br />

each component might have a different drawing direction, and some components<br />

might contain context-dependent characters that change shape based on<br />

relationships with neighboring characters.<br />

When drawing such locale-dependent text, some locale-specific knowledge is<br />

required; for example, what fonts are required to draw the text, how the text can<br />

be separated into components, and which fonts are selected to draw each<br />

component. Furthermore, when bidirectional text must be drawn, the internal<br />

representation order of the text must be changed into the visual representation<br />

order to be drawn. An X Output Method provides a functional interface so that<br />

clients do not have to be aware of locale-dependent details.<br />

Two different abstractions are used in the representation of the output method for<br />

clients:<br />

• The abstraction used to communicate with an output method is an opaque<br />

data structure represented by the XOM datatype.<br />

• The abstraction for representing the state of a particular output thread is<br />

called an output context. The Xlib representation of an output context is an<br />

XOC, which is compatible with XFontSet (see Section 8.2.25.1,<br />

“XLC_FONTSET Category” on page 210) in terms of its functional interface.<br />

8.2.24.1 Output Method Functions<br />

The following are the various output method functions:<br />

• XOpenOM()<br />

• XCloseOM()<br />

• XSetOMValues()<br />

Graphical Environment Enhancements 209

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

Saved successfully!

Ooh no, something went wrong!