How can i evaluated text width?