JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Solaris X Window System Developer's Guide
search filter icon
search icon

Document Information

Preface

1.  Introduction to the Solaris X Server

2.  DPS Features and Enhancements

3.  Visuals on the Solaris X Server

4.  Font Support

Font Support in the Solaris X Server

X Font Server

Available Font Formats

Optional Font Package

Associated Files

Outline and Bitmap Fonts

Replacing Outline Fonts With Bitmap Fonts

Replacement Conditions

Using TrueType and F3 Fonts in DPS

Locating Fonts

Changing the Default Font Path in X11

Installing and Managing Fonts

5.  Server Overlay Windows

6.  Transparent Overlay Windows

7.  Security Issues

A.  Reference Display Devices

Glossary

Index

Using TrueType and F3 Fonts in DPS

TrueType and F3 fonts behave exactly like Type1 fonts, except /FontType returns 42 for TrueType and 7 for F3 fonts. For example, the following PostScript code works the same regardless of the kind of font.

/Helvetica
findfont 50 scalefont setfont 10 10 moveto (ABC)

show

But the following code yields 42 for a TrueType font, 7 for an F3 font, and 1 for a Type1 font.

currentfont
/FontType get ==

The kind of font returned depends on the current DPS internal resource path.