How can I make "show_name" show a text attached to the surface of the object?

I succeeded to show the text near the object using “show_name”.

But the text is kind of “flying” around the object.

Is there a way to make the text attach to the object surface?

And how can I change the size of the text?