added font support for the word wrap function