add text size and text line skip functions to the backend, including tests.