Solaris Common Desktop Environment: Programmer's Guide

Default Font Names

The set of standard interface font names is defined by the XLFD field name values described in Table 2-2.

Table 2-1 Field Name Values for Standard Interface Font Names

Field 

Value 

Description 

FOUNDRY

dt

CDE name 

FAMILY_NAME

interface system or interface user

CDE standard interface font name 

WEIGHT_NAME

medium or bold

Weight of the font 

SLANT

r

Roman 

SET_WIDTH

normal

Normal set width 

SPACING 

p or m 

 

ADD_STYLE

size hint 

sans or serif

Proportional or Monospace values from xxs to xxl 

Sans for sans serif font or serif for serif 

PIXEL_SIZE

Platform dependent 

 

POINT_SIZE

Platform dependent 

 

RESOLUTION_X

Platform dependent 

 

RESOLUTION_Y

Platform dependent 

 

AVERAGE_WIDTH

m

Monospace for user font 

Proportional for system font 

NUMERIC FIELD

Platform dependent 

 

CHAR_SET_REGISTRY

Locale Dependent 

 

ENCODING

Locale Dependent