Apply Font Size
Intro
Apply Font Size can be used as a Style Behaviour on a Text Shape and makes it possible to set different Font Sizes for characters, lines, words or partial strings in a procedural way.
UI
Mode - Choose a mode for the selection:
- Regex - Set a Regular Expression to determine which parts of the string will be selected. There are several presets available at the top of the Attribute Editor UI.
- Specific Indices - Manually enter the indices to determine which lines/ words/ characters are selected.
Index Mode:
- Line - Set the Font Size for each line within the string defined by Specific Indices.
- Word - Set the Font Size for each word within the string defined by Specific Indices.
- Character - Set the Font Size for each character within the string defined by Specific Indices.
Indices - Specify the indices to select. Values should be comma ,
separated for lists or colon :
separated for ranges. e.g. 0,1:3,8
will select indices 0, 1, 2, 3 and 8. You can also enter first
or last
to procedurally select those indices. Note that a space character is included as an index.
Font Size - set the size of the characters within the selection.