The desktop provides mechanisms for setting and manipulating
interface fonts and window colors. In order for an application to
use these mechanisms properly, you may have to modify the application's
app-defaults file.
Modifying Font Resources |
 |
 |
 |  |
 |
 | NOTE: This section applies to applications created using Motif
1.2™ (or later versions). Style Manager cannot set interface
fonts for applications written using earlier versions of Motif. |
 |
 |  |
 |
The desktop Style Manager will set interface fonts for applications
created using Motif 1.2 (or later versions) if the application does
not specify application-specific interface fonts.
Style Manager provides two fonts:
Each font is provided in seven sizes, labeled 1 through 7
in the Fonts dialog box. The Style Manager fonts are connected to
actual fonts on the system through Style Manager resources set in
/usr/dt/app-defaults/language/Dtstyle.
If you want the application to use the Style Manager fonts,
you should remove any application resources that specify fonts.
The desktop will automatically set the application's resources appropriately:
Modifying Color Resources |
 |
Style Manager provides the
ability to change application colors dynamically. The application
must be a Motif 1.1 or later client. Clients written with other
toolkits cannot change color dynamically; color changes take effect
when the client is restarted.
The easiest way to use the dynamic colors provided by the
desktop is to remove any application color resources for background
and foreground color.