I'm creating reports 2 ways. one way is with Crystal Reports and the other way is programmatically using PrintDocument object.
I'm working very hard to make the layouts of the two formats as identical as possible as you might imagine. I'm coming across an issue with font rendering between the two methods. I initially thought that the rectangle I'm putting my text into in the PrintDocument object was a little small so some kind of "format to fit" logic was in there, but I've changed my code to actually draw the rectangel that the text is embedded in and there is more than enough room so that it must be something else.
I've attached a pdf document that contains two screenshots. The one on the left was generated with Crystal Reports and the one on the right by PrintDocument.
The fonts used are Univers LT Std 55 for the name text, and Univers LT Std 45 Light | Bold for the company line.
Thanks in advance,
Jerry
Jerry Scannell
I'm working very hard to make the layouts of the two formats as identical as possible as you might imagine. I'm coming across an issue with font rendering between the two methods. I initially thought that the rectangle I'm putting my text into in the PrintDocument object was a little small so some kind of "format to fit" logic was in there, but I've changed my code to actually draw the rectangel that the text is embedded in and there is more than enough room so that it must be something else.
I've attached a pdf document that contains two screenshots. The one on the left was generated with Crystal Reports and the one on the right by PrintDocument.
The fonts used are Univers LT Std 55 for the name text, and Univers LT Std 45 Light | Bold for the company line.
Thanks in advance,
Jerry
Jerry Scannell