set text of g to { text: "My new text", size: 8, font: "arial", alignment: center, color:{65535,65535,65535}}