format_text method

format_text

This function is called before rendering of text portion to SVG to allow user to control resulting SVG.

def format_text(self, svg_t_span, portion, text_frame):
    ...
ParameterTypeDescription
svg_t_spanISvgTSpanObject to control SVG tspan generation.
portionIPortionSource portion.
text_frameITextFrameSource portion text frame.

See Also