also use mainly start and end offset inside the typesetter