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
Common Desktop Environment: Internationalization Programmer's Guide > Chapter 4 Xt, Xlib, and Motif Dependencies

Drawing Localized Text

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

A compound string (type XmString)is a means of encoding text so that it can be displayed in many different fonts without changing anything in the program. A rendition, which is identified by a rendition tag, specifies the font (and other characteristics, such as color) with which the compound string with that rendition tag is to be rendered.

Especially useful for internationalization purposes are render tables, which are collections of renditions. Among the renditions in the table may be one tagged _MOTIF_DEFAULT_LOCALE, which is the rendition used for the current locale. For internationalized applications, render tables should be specified in resource files.

The foregoing discussion provides only a brief overview of some subjects related to drawing localized text; for complete information, refer to Motif Programmer's Guide.

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