| |
Preface | xiii |
New Features | xvii |
1. Introduction to the Solaris X Server | 1 |
| ...About the Solaris X Server | 1 |
| ......X11R5 Sample Server | 2 |
| ......DPS Extension | 4 |
| ......X Consortium Extensions | 4 |
| ......AccessX | 6 |
| ......Shared Memory Transport | 7 |
| ......Visual Overlay Windows | 7 |
| ......X11 Libraries | 8 |
| ...Applications That Run With the Solaris X Server | 8 |
| ......Supported X11 Applications | 9 |
| ......Unsupported Applications | 10 |
| ...OpenWindows Directory Structure | 10 |
| |
| ...Notes on X11 Programming | 13 |
| ......Compose Key Support | 13 |
| ......NumLock Key Support | 13 |
| ......Color Name Database | 14 |
| ......Color Recommendations | 14 |
| ...Further Reading | 15 |
2. DPS Features and Enhancements | 17 |
| ...About DPS | 17 |
| ......How DPS Works | 18 |
| ...DPS Font Enhancements in the Solaris Server | 20 |
| ...DPS Libraries | 20 |
| ......Adobe NX Agent Support | 20 |
| ...DPS Security Issues | 21 |
| ......System File Access | 21 |
| ......Secure Context Creation | 21 |
| ...When DPS Encounters Internal Errors | 23 |
| ...How To Access Information From Adobe | 23 |
| ...DPS Compositing Operators | 24 |
| ......Operator Descriptions | 26 |
| ......Implementation Notes and Limitations | 31 |
3. Visuals on the Solaris X Server | 35 |
| ...About Visuals | 35 |
| ......Default Visual | 36 |
| ......Visuals on Multi-Depth Devices | 37 |
| |
| ......Hints for Windows Programming With Visuals | 37 |
| ...Gamma-Corrected Visuals | 38 |
| ......Finding a Linear Visual | 39 |
| ......Visual Selection Alternatives | 41 |
4. Font Support | 43 |
| ...Font Support in the Solaris X Server | 43 |
| ......Available Font Formats | 44 |
| ......Associated Files | 45 |
| ...Outline and Bitmap Fonts | 46 |
| ......Replacing Outline Fonts With Bitmap Fonts | 47 |
| ...Using F3 Fonts in DPS | 47 |
| ...Locating Fonts | 48 |
| ......Changing the Default Font Path in X11 | 48 |
| ......Changing the Resource Path in DPS | 50 |
| ...Adding New Fonts | 51 |
| ......Adding Bitmap Fonts | 52 |
| ......Adding Outline Fonts | 53 |
| ...Using OPEN LOOK Fonts on X Terminals | 56 |
5. Transparent Overlay Windows | 57 |
| ...What are Transparent Overlay Windows? | 57 |
| ...Basic Characteristics of Overlay Windows | 59 |
| ......Overlay Window Paint Type | 59 |
| ......Overlay Window Viewability | 60 |
| ......Rendering Transparent Paint | 60 |
| |
| ...More on Overlay Window Characteristics | 60 |
| ......Overlay Window Background | 61 |
| ......Overlay Window Border | 62 |
| ......Overlay Window Backing Store | 62 |
| ......Overlay Window Gravity | 63 |
| ......Overlay Colormap | 63 |
| ......Input Distribution Model | 63 |
| ......Print Capture | 64 |
| ...Choosing Visuals for Overlay/Underlay Windows | 65 |
| ...Example Program | 66 |
| ...Overview of the Solaris Transparent Overlay Window API | 67 |
| ...Creating Overlay Windows | 68 |
| ...Setting the Paint Type of a Graphics Context | 70 |
| ...Setting the Background State of an Overlay Window | 71 |
| ...Rendering to an Overlay Window | 71 |
| ...Querying the Characteristics of an Overlay Window | 72 |
| ......Determining Whether a Window is an Overlay Window | 72 |
| ......Determining the Paint Type of a Graphics Context | 72 |
| ...Pixel Transfer Routines | 73 |
| ......Filling an Area Using the Source Area Paint Type | 73 |
| ......Copying an Area and Its Paint Type | 75 |
| ......Retrieving Overlay Color Information | 79 |
| ......Using Existing Xlib Pixel Transfer Routines With Overlay |
| ........Windows | 81 |
| |
| ...Designing an Application for Portability | 82 |
| ......Selecting a Visual for an Overlay/Underlay Window | 83 |
| ......Selecting an Optimal Overlay/Underlay Visual Pair | 88 |
6. Security Issues | 93 |
| ...Access Control Mechanisms | 94 |
| ......User-Based | 94 |
| ......Host-Based | 94 |
| ...Authorization Protocols | 95 |
| ......MIT-MAGIC-COOKIE-1 | 95 |
| ......SUN-DES-1 | 95 |
| ......Changing the Default Authorization Protocol | 96 |
| ...Manipulating Access to the Server | 97 |
| ......Client Authority File | 98 |
| ......Allowing Access When Using MIT-MAGIC-COOKIE-1 | 99 |
| ......Allowing Access When Using SUN-DES-1 | 99 |
| ...Running Clients Remotely, or Locally as Another User | 100 |
A. Reference Display Devices | 101 |
| ...Solaris Reference Display Devices | 101 |
| ......SPARC: Supported Reference Devices | 102 |
| ......x86: Supported Reference Devices | 104 |
B. Multi-Buffering Application Program Interface, Version 3.2 | 107 |
| ...Library File | 107 |
| ...Header File | 108 |
| ...New Routines | 108 |