I have tried to add '\n' to each character, but I find line spacing is too large, how I can control this line spacing.
painter->drawText (position,"Qt by \n Trolltech");
thanks Gerolf.
the font size is 16, it can be changed by user. it means that the text size is ok, just the line spacing is too large,because of "\n". but how to reset line spacing.
[quote author="dxwang" date="1312182018"]I am sorry, I still don’t find that which function can set line spacing in QFont. can someone help me .[/quote]
Did you find the answer. I am searching something similar ?