Page 1 of 1

Embedded Fonts

Posted: Thu Jul 23, 2015 2:22 pm
by glima
One of our features is to try and fix malformed PDF files. These are usually created by older scanning software. To do this we print each page of the existing document to a new document using the PDF Driver (v 5.5 Build 313.1). Depending on the version of windows and the whether the driver is 32 or 64 bit we get varying results.

Win XP (32) - All the fonts get transferred
Win7 (32) - All the fonts get transferred
Win7 (64) - Fonts are replaced with existing fonts on machine.
Win8 (64) - Fonts are replaced with existing fonts on machine. This is the worst as it only embedded Arial and not Courier New like Win7

The good files are almost twice the size of the bad ones. This is to be expected since the fonts are embedded.

Re: Embedded Fonts

Posted: Thu Jul 23, 2015 4:49 pm
by Ivan - Tracker Software
On all your systems the original PDF was reprinted using the same app? As I see, on Win XP and Win7 (32) you had PDF-XChange Viewer that reprints original file, but not sure it was used on the other systems.

Re: Embedded Fonts

Posted: Thu Jul 23, 2015 5:31 pm
by glima
On ALL systems the APP was installed from the same installation source.

Our Process uses PDF Viewer functions

initialize PDF Driver - Our own instance
createDC()
startDoc
Open Bad File - PXCV_ReadDocumentW
Set Options
- Save.Path
- Save.File
- Save.WhenExists

Get Page Info - PXCV_getPageDimensions

Set Options
- Page.SheetSizeIndex = -2
- Page.Width from Page Info
- Page.Height - From Page Info
- DevMode.Orientation based on width and height


For ALL Pages
startPage
Draw Page - PXCV_DrawPageToDC
docendPage

endDoc

Close PDF PXCV_Delete

Re: Embedded Fonts

Posted: Mon Jul 27, 2015 5:54 pm
by Ivan - Tracker Software
I have fixed some issues with printing embedded fonts.
Please download archive with updated pxcview.dll by this URL http://www.docu-track.co.uk/updated_pxc ... r_text.zip, replace your existing DLL (please make sure you have backup) and check if the issue still exists with new DLL.
Please let us know the result.

Re: Embedded Fonts

Posted: Wed Jul 29, 2015 3:17 pm
by glima
This now works properly

Re: Embedded Fonts

Posted: Wed Jul 29, 2015 3:50 pm
by Will - Tracker Supp
:D