Point wordwrap(char* m, Font *font, Point pi, int margin);