Node: FontLibrary

X3D: 4.1
Component: Text
Status:
experimental

Quick Links

➨ Fields

The FontLibrary node adds font file to the scene and names the font.

HTML Encoding and Default Values

<FontLibrary family='''' fontLibrary='x3dom.nodeTypes.FontLibrary' metadata='X3DMetadataObject' url='[]' ></FontLibrary>

Inheritance


Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
family SFString '' Sets the font family name.
fontLibrary SFNode FontLibrary The fontLibrary field is used to add a custom font to the scene
metadata SFNode X3DMetadataObject Core/X3DNode Field to add metadata information
url MFString [] urls of web font files to use