Text Mapping
- Last UpdatedMay 02, 2025
- 1 minute read
This section describes the transformation settings defined for manipulating the Text objects in the 2D Graphics.
Text Mapping is used in 2D drawings to customize textual objects visible in the drawing, either by varying the font that is used or mapping specific characters/text strings to alternative values.
Note: Unlike Base mapping, text mapping changes the displayed content of the output drawing.
Example:
<textMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
sourceProductName="AVEVA™ Gateway for 2D Data" componentName="TextMapping" componentVersion="2.10.0.0"
<texts>
<text from="1" to ="±" font="ANSI_SYMBOLS" />
<text from="%" to="^" font="*" regEx="false" />
<text from="colour" to="colour" font=".*" regEx="true" />
<text from="1024" to="0x400" font="*" />
<text from="0x400" to="1 kilo" font="*" />
</texts>
<fonts>
<font from="Courier" to ="Arial,Lucida Console" />
<font from="SansSerif" to="Lucida Console" italic="false" bold="true"/>
<font from="#missingFonts#" to="Consolas"/>
</fonts>
</textMapping>