Houdini 20.5 Nodes Copernicus nodes

Font Copernicus node

Rasterizes text onto a layer from Type 1, TrueType and OpenType fonts.

On this page

Houdini automatically scans the system and user font directories for compatible fonts and shows them in the font menu.

The Font COP is Unicode compatible, and can draw any glyph from a Unicode font.

Note

The text is placed in world space (at the origin by default) facing the Z axis. You can use the Match Camera COP to return the input image to this location if you want the text to be placed in image space; Match Camera can also be used after Font to then restore the original layer’s transform.

Parameters

Font

The font to use for drawing the text.

By default the menu lists all known system fonts. You can browse for a specific font file, if it is not listed.

Text

The text to be generated.

Output Type

Specificies the output of the font node : mask or sdf.

Horizontal Alignment

Specifies how the text is aligned horizontally around the origin.

Vertical Alignment

Specifies how the text is aligned vertically around the origin.

Include Descender in Vertical Alignment

If enabled, then the alignment baseline is set to the descender of the font, rather than the font’s baseline. A descender is the portion of a letter that extends below the baseline of the font - for example the stem of a lowercase p.

Font Size

Single control for controlling the size. The scale is applied on top of this.

Translate

Translates the text along the world x and y axis.

Rotate Z

Rotates the font about the world z axis.

Scale

Scale factors along x and y axes.

Tracking

Tracking in x-direction.

Leading

Leading in y-direction.

Oblique Angle

Amount of slant to apply to the text, in degrees.

Level of Detail

Controls the number of points in polygonal fonts.

Inputs

size_ref

A representative layer that determines the size of the output image and controls the metadata.

Outputs

font

The Mono layer with the rasterized font. Either a mask or an sdf.

id

The ID layer that corresponds to the textindex attribute, which contains the offset (counted in code points) into the string.

See also

Copernicus nodes