The FontStyle node allows you to change the appearance of the text
specified in the AsciiText node. Size can be specified, as well as the font family (SERIF,
SANS, and TYPERWRITER are the choices) and the style of the font (either NONE, BOLD, or
ITALIC).
#VRML V1.0 ascii
.....
FontStyle {
size 15
family TYPEWRITER
style NONE
} #FontStyle
AsciiText {
string "This is a cool demo world!"
spacing 1
justification CENTER
width 0
} #AsciiText
+ Typewriter style
Next
Table of contents