Embedded Fonts

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
glima
User
Posts: 28
Joined: Mon Sep 20, 2004 4:27 pm
Location: Phoenix, AZ

Embedded Fonts

Post 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.
Attachments
AC-WinXP.pdf
Windows XP 32-bit
(1.31 MiB) Downloaded 173 times
AC-Win8-64.pdf
Windows 8.1 64-bit
(650.99 KiB) Downloaded 170 times
AC-Win7-64.pdf
Windows 7 64-bit
(670.95 KiB) Downloaded 162 times
AC-Win7-32.pdf
Windows 7 32-bit
(1.31 MiB) Downloaded 157 times
AC-Org.pdf
Original
(730.08 KiB) Downloaded 175 times
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3549
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Embedded Fonts

Post 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.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
glima
User
Posts: 28
Joined: Mon Sep 20, 2004 4:27 pm
Location: Phoenix, AZ

Re: Embedded Fonts

Post 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
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3549
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada
Contact:

Re: Embedded Fonts

Post 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.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
glima
User
Posts: 28
Joined: Mon Sep 20, 2004 4:27 pm
Location: Phoenix, AZ

Re: Embedded Fonts

Post by glima »

This now works properly
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Embedded Fonts

Post by Will - Tracker Supp »

:D
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Post Reply