TextStroker
作为输入的字体名称, 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.
Output Ports
抚摸 text is generated via the抚摸output port.
Any rejected features (for example, points with no text attributes) are generated via the非接触output port.
Parameters
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:
The [ ] enclose optional items.The character set index, which is an integer starting at 0, is typically not used.
Some example font specifications include:
宋体 | 定期宋体 |
宋体,16 | 定期宋体,16磅 |
宋体,斜体 | 斜体宋体 |
宋体,BOLD | 宋体加粗 |
宋体,黑体,斜体 | 粗体和斜体宋体 |
宋体,16,粗体,斜体 | 粗体和斜体宋体,16磅 |
The font can also be specified in the exact same way using thefme_font_nameattribute of an incoming feature by leaving this parameter empty, or by setting it to the string,“宣读功能”.
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.
Example
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, clickbeside the applicable parameter.For more information, seeTransformer Parameter Menu Options.
Transformer Categories
FME Licensing Level
FME Professional edition and above
Search FME Knowledge Center
Search for samples and information about this transformer on theFME Knowledge Center.