How to get Text baseline coordinates?

Hi,

i would like to create curve at text baseline, but cannot find how to do it... can anybody help please?