SoFont

InventorModule
genre InventorNodesAutomatic
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def

Purpose

This node defines the current font type and point size for all subsequent text shapes in the scene graph. Fonts are specified with PostScript names, except for the default font. The default font is called defaultFont and is the standard SGI graphics font for 2D text. “Utopia” is the standard Inventor font for 3D text.

Windows

Default Panel

../../../Modules/Inventor/InventorBase/mhelp/Images/Screenshots/SoFont._default.png

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Name

name: name, type: String, default: "defaultFont"

This field defines the font name as a PostScript name. For example, Times Roman would be specified as Times-Roman.

Multiple fonts can be specified by separating the font names with semicolons. When multiple fonts are specified, the first font in the list that contains a given character is used to render that character.

Size

name: size, type: Float, default: 10

This field defines the font size.

The value is in points for 2D text and is in the current units for 3D text.