39

Building primitive shapes
Syntax: FontStyle

  • A FontStyle node describes a font
  • family - SERIF, SANS, or TYPEWRITER
  • style - BOLD, ITALIC, BOLDITALIC, or PLAIN

  • [ textfont.wrl ]
    Shape {
        appearance Appearance {
            material Material { }
        }
        geometry Text {
            string . . .
            fontStyle FontStyle {
                family  "SERIF"
                style   "BOLD"
            }
        }
    }