Adjust the distance between text

Hi all,
I have a question.
I want to edit a grasshopper to adjust the distance between test.
I encountered two situations, as shown in the following pictures.
Is there any suggestion to edit the grasshopper ?
image

Thank all.