Search code examples
c++qt5.12

The second letter 't' in 'tt' is a little bigger than the first one


I develop an application in Qt/C++ with Qt 5.12.12 on Windows 10.
I have some *.ui files including simple QLabel widgets to display text in Calibri font, with 16 points size.
Here is an example of what is displayed on screen when "tt" is present in a word:

text with double t

This is only cosmetic issue, but I did not find anything on the web about this kind of issue. I really need to keep the Calibri font.
When I use Calibri font, 16 points, in Word or any other text editor, I do not see this issue. I am getting really crazy...

Can someone help me please ?


Solution

  • Maybe you find that it's actually a single character instead of two. It's called a ligature. If you don't like it, try deleting it and re-type the two Ts. But actually, typographists do that to make the font prettier, not uglier. So maybe it's something you may want to get used to and actually start liking.

    There are a lot of other ligatures as well, not only for TT. Most of which I know are combinations with F:

    Ligatures

    You may not get ligatures in Word because the default seems to be "no ligatures". You can find it in the advanced text properties:

    Ligature settings

    If someone wants to replace the German screnshot by an English one, please do so