added font variant support in text tool