Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Font Rendering differences

Status
Not open for further replies.

JScannell

Programmer
Jan 9, 2001
306
US
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
 
 http://files.engineering.com/getfile.aspx?folder=5589cb75-1dcc-4237-8c66-036f2a322e0f&file=Crystal_vs_PrintDocument.pdf
I have seen two versions of Adobe PDF reader render Crystal Reports different. Also if the report is tied to a specific printer, it can alter things. I wish you the best of luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top