When the text is printed with the flag AlignRight:
- in Print preview the text is drawn inside the box as expected
- in PDF the text is drawn "outside" the box by some pixels.
=> Printing to PDF does not print the correct font size (but font size + 2)
A test case is included to reproduce the issue.