support relative text positioning