Solaris Internationalization Guide For Developers

Chapter 7 X/DPS

The X Window System has been extended with the X Display PostScript system (often described as X/DPS). It uses application-callable libraries on the client side and corresponding extensions on the X server side.

Internationalization and localization issues using Adobe System's PostScriptTM are documented in several books from Adobe Systems, Inc.:

This set of books is essential for successfully developing PostScript applications.

The PostScript Language Reference Manual (Second Edition) is the standard reference work for PostScript. It is the definitive documentation of every operator, Display PostScript (DPS), Level 1, and Level 2. The book covers the fundamentals of PostScript as a device-independent printing language. The special capabilities for handling fonts and characters in PostScript are covered. The book's Appendix E also covers standard character sets and encoding vectors. It discusses the organization of fonts that are built into interpreters or supplied from other sources.

Programming the Display PostScript System with X is for application developers who are working with X Windows and Display PostScript. The book documents how to write applications that use Display PostScript to produce information for the screen display and the printer output. It describes coding techniques in detail.

Localization Resource Category

The localization resource category specifies which natural language (for example, English or Japanese) is supported. This category is made up of dictionaries that contain the keys Language, Country, CharSet, and others. These keys are in the %Console% device parameter set.

<</Language/EN /Country/U.S. /CharSet/ISO-646-ISV>>

<</Language/JA /Country null /CharSet/JIS-...>>

In the example with Japanese, the null value shows that no dialect was selected for Japanese.

Unique names should be used for each item in the localization resource category.

Information on Language Interpreters

Page Description Language (PDL) interpreters can be assigned to a PostScript product. An application or printer driver uses the PDL resource category to see which PDL interpreter has been assigned.

Control languages can also be assigned. An application or printer driver can use ControlLanguage to see which control languages are available on a PostScript product.

The PDL and ControlLanguage resource categories are available.

The PDL and ControlLanguage resource categories are made up of key/value pairs. See the Adobe PostScript documentation for more information.