Hi,
I have an application, that allows the user to edit text via RichTextBoxes (including all standard manipulations like changing fonts, styles, ...). Finally the user can print his document. The printing is done via PrintDialog.PrintVisual.
The problem I have is that some fonts, which are inherently italic (like e. g. Lucida Calligraphic) are printed 'more italic' than they are shown. To clarify see the screen shots:
When displayed on Screen:
Image may be NSFW.
Clik here to view.
When printed (no styles chandeg):
Image may be NSFW.
Clik here to view.
When I serialize my document to an XPS file, everything is fine - including the printed XPS file.
To find the reason for this behaviour, I have created a simple application, that contains and prints out a single RTB. Here everything looks as expected. In comparison I intercepted the print process in the 'real' app and cloned a single of the contained RTB (via XamlWriter and XamlReader) and printed it: it stays 'more italic'.
Using other fonts (uprights like Times, ...) or applying FontWeight "Bold" to the Lucida text results in a corrrect print.
Can anyone explain this behaviour or direct me to where to continue my investigations?
Thanks in advance.
Cheers
Jürgen
Addition: Printing via MS XPS-Printer produces a result which is o. k.