Start of Tutorial > Start of Trail |
Search
Feedback Form |
This lesson shows you how to determine what fonts are available on your system, create fonts with particular attributes, derive new fonts by modifying the attributes of an existing font, and position multi-line text within a component.These topics are discussed in the following sections:
This section illustrates how to use theGraphicsEnvironment
to determine what fonts are available on your system, how to create aFont
object and to how to change the font attributes of a text string.
This section shows you how to position and render a paragraph of styled text usingTextLayout
andLineBreakMeasurer
.
Start of Tutorial > Start of Trail |
Search
Feedback Form |
Copyright 1995-2002 Sun Microsystems, Inc. All rights reserved.