adding wrap support for non-bitmap fonts