support rtl text in ITextDraw