SoFontStyle

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

Purpose

The module SoFontStyle sets the font and its style to be used in the following Open Inventor scene. For more information, see the help file of the module SoFont.

Windows

Default Panel

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

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Name

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

Sets the font name as a PostScript name.

For example, Times Roman is specified as Times-Roman.

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

Size

name: size, type: Float, default: 10

Sets the font size.

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

Family

name: family, type: Enum, default: SERIF

Defines the font family of the font being used.

Values:

Title Name
Serif SERIF
Sans SANS
Typewriter TYPEWRITER

Style

name: style, type: String, default: NONE

Sets the style of the font being used.

The available values are NONE, BOLD, and ITALIC, with the default being NONE.