The SamsaInstance object is ...
SamsaInstance.renderText()
Returns an SVG string that is ready to display. It takes one argument,options. All properties of options are optional, with defaults indicated in square brackets below.options.textis the text to be rendered ["hello, world!"]options.fontSizeis the size of the text in SVG units [12]options.coloris the 32-bit RGBA color to use [0x000000ff]options.paletteIdis the palette ID to use for COLR fonts [0]