Takes as input a font name, text padding and width multiplier, and outputs aggregates that describe the outline of the text. If the font name is not supplied, then the font name and style are retrieved from attributes on the feature.
Stroked text is generated via the Stroked output port.
Any rejected features (for example, points with no text attributes) are generated via the Untouched output port.
The font name can refer to any valid TrueType font, and is case-insensitive. The font name can also include optional style specifiers according to the syntax:
<fontname>[,SIZE][,BOLD][,ITALIC][,<character set index within font>]
The [ ] enclose optional items. The character set index, which is an integer starting at 0, is typically not used.
Some example font specifications include:
|Arial,16||Regular Arial, 16 pt|
|Arial,BOLD, ITALIC||Bold and Italic Arial|
|Arial,16,BOLD,ITALIC||Bold and Italic Arial, 16 pt|
The font can also be specified in the exact same way using the fme_font_name attribute of an incoming feature by leaving this parameter empty, or by setting it to the string, “Read from feature”.
This parameter specifies whether the output features should be polygons or lines.
Specifies the text padding (extra spacing between characters) in ground units.
The font width multiplier multiplies the "natural" width for the font, based on the height. A value of zero indicates that the font width is equal to the font height.
A multiplier of two will give characters at twice their normal width.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
FME Licensing Level
FME Professional edition and above
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.