Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XFRX font different in PDF
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01280622
Message ID:
01325211
Views:
33
> Yes, I used the same machine just to make sure it supposedly uses the same font for both.

Roy,

There are several factors that could cause the fonts to be slightly smaller and the spacing to be smaller between the PDF from XFRX and a directly printed report. The same could happen when using any PDF printer driver as well.

1) When the original document is printed to a PDF printer driver, the PDF defined printable area is usually the entire page and no margin is needed allowing for larger gaps. So, when you print to a standard printer, there is usually less printable area than the page size (unless you have a full bleed printer) and therefore when you print the PDF, it will have to be scaled down slightly to fit on the Printable Area of the printer as in Issue 2.

2) When printing from Adobe Read, there are several options depending on version of the Adobe Reader. Two options in Adobe Reader 8 are "Shrink to Printable Area" and "Fit to Printable Area". I don't know the exact difference, as both seem to be similar in ideas. But, choosing either option will cause the Adobe Reader to slightly shrink the output scaling it by a percentage amount so that it fits on the currently selected printer output device. So, depending on the PhysicalOffsetX and PhysicalOffsetY and the printable Width and Height of the page, you could see a 1% to 5% shrinkage in the size of everything on your printed output.

3) There can also be some rounding or truncating issues with the size of the font being defined in the PDF depending on font sizes selected and type of font and whether you are rendering using GDI or GDI+ and using font sizes with with real point sizes rather than integer point sizes.

You can always open up the PDF document and look for the Fonts that are defined in the file using any text editor. Or you can open it in Adobe Reader and select FILE | PROPERTIES and then look at the Fonts tab. You won't get point sizes as this is only the font typefaces defined in the PDF document. You would need to render the PDF without compression so you could read the Font Sizes in the text objects defined in the PDF to see what the actual font point size was defined for each text object as a comparison.

So, the way that Adobe Reader renders and prints could vary easily for sure from issue 2 and some from issue 3.
Previous
Reply
Map
View

Click here to load this message in the networking platform