SoFontSetNumFontCaches Method |
Sets the maximum number of caches that can be used for font rendering.
Namespace: OIV.Inventor.Nodes
Default is 20. This number corresponds to the number of changes that can be applied to a font: for example, to use the "Arial" and the "Times" fonts one after the other, two caches are created. Subsequently changing a rendering property like OIV.Inventor.Nodes.SoFont.renderStyle causes the creation of new caches. Properties that cause a cache to be rebuilt include the following:
OIV.Inventor.Nodes.SoAsciiText: font name, size, render style, text orientation
OIV.Inventor.Nodes.SoText2: font name, size, viewport size, render style, text orientation
OIV.Inventor.Nodes.SoText3: font name, size, render style, text orientation, profile definition
Note: This list is not exhaustive.