To create a shape mask
from text, use the Curves > Text
tool to write the text.
from the tool palette, and
select each letter, curve by curve.
or
Click Accept after selecting each letter if you want to create separate mask shapes for each letter.