size(1300, 400)
# create an empty formatted string object
t = FormattedString()
# set a font
t.font("Menlo-Regular")
# set a font size
t.fontSize(300)
# add some glyphs by glyph name
t.appendGlyph("A", "ampersand", "Eng", "Eng.alt")
# add some glyphs by glyph ID (this depends heavily on the font)
t.appendGlyph(50, 51)
# draw the formatted string
text(t, (100, 100))