Using the scaling workaround, I have gotten the PDF's to render very closely to the same on Windows and Linux. Although the characters render exactly the same size, Still the windows one renders blocks of text slightly bigger. What I notice is that there are still some slight differences in the way the font is rendered. For example:

1) There seems to be a difference between the character spacing on windows vs linux. Some phrases rendered in the linux version are maybe a pixel or 2 wider than on windows or vice versa. On average however it seems that windows is rendering blocks of text slightly wider.

2) Underlined text in linux renders different as well. For example if I have letters that hang down such as "y" "q" "g", etc. in linux the underline is below the whole letter, and on windows, the letter actually crosses the line.

On a small form with not much text this isn't much of a problem, but on a document with many pages of dense text, it is much more noticeable, and causes some text to not fit.

I am thinking that the font on windows is not exactly the same as the one on linux, but very close.

Currently I use the "Times New Roman" family and use this function to set the font:
Qt Code:
  1. textdocument.setDefaultFont(QFont(fontFamily, fontsize));
To copy to clipboard, switch view to plain text mode 

is there a way to specify more strictly specify the font to use, for example including a font file with my program and telling it to only use that font to generate PDF's?