In my application, I use QTextEditto display some text, using HTML for formatting. The displayed document can be printed. And here's the problem: while kerning is right on the screen, when printed, the document looks very bad (basically: there is too much space after some letters).
Trying to understand the problem I output HTML to an external file and tested it in real browsers. Chrome has exactly the same problem, while in Firefox kerning is also suitable for printing. The problem is definitely related to the HTML rendering engine, but I do not use the QtWebkit module (I did not even compile it), which would explain that the same problem occurs in Chrome.
How can i fix this?
EDIT
Here's what it looks like:
First, the text to be submitted (Firefox):

, Qt/Chrome ( M p):
