Font rendering problems with PDF2Image

After a long time, we have finally come back to this issue (it has never been solved and nothing we have tried solves the problem, but we have just been working on other things since this last email).

To summarize, the issue is that ZafpDingbats don't render at all using PDFToImageConverter2Ex. See the attached files. The PDF has five checkbox fields, three of which are checked. When viewing this in Acrobat Reader (on the same machine as VeryPDF is running), the checkboxes show fine. But when rendering with VeryPDF (COM object), the checkboxes are blank (see the attached PNG file). Since Acrobat can show the checkboxes on the same machine, I think that proves that the font is available, so why can VeryPDF not?
=====================

Thanks for your message, we will check this problem and come back to you shortly, thanks for your patience.

VeryPDF
=====================
I just want to be sure you sent me the right software in the ZIP file. We are using the 32-bit COM version of the PDFtoImage converter. We currently have a file called PDF2TIFFEx.dll and instantiate the COM object in our PHP code using "PDF2TIFF.CPDF2TIFF". But the new ZIP file does not contain this file. Is this file still needed?

Also, what is the recommended installation procedure (i.e. what files/folders from the ZIP file do I need and where should I copy them to)?
========================
PDF2TIFFEx.dll is included in "example_asp" folder, you can copy PDF2TIFFEx.dll file from "example_asp" folder to target folder that you want.

You can copy following files to any folder that you want,

PDF2TIFFEx.dll
cimage.dll
pdf2image.dll

after you copy them into same folder, please register PDF2TIFFEx.dll COM interface, then you can call PDF2TIFFEx.dll from your ASP code to convert PDF files to image files quickly.

VeryPDF
========================
Hello--

Unfortunately, the updated files (including the Resource folder) did not fix the problem, but it did change the problem. Now, instead of showing a letter in the checkbox, the checkbox is just blank, regardless of whether it is checked or not. See the attached sample file. The PDF has two checkboxes near the top; both are checked. But the PNG (created by VeryPDF) shows those checkboxes as unchecked. Note that if I print this PDF to my printer, the checkboxes are checked.

I noticed that pdf2image.dll must be in the search path in order to be found, even if it is in the same folder as PDF2TIFFEx.dll. Would it be possible to fix this, so that the folder that contains PDF2TIFFEx.dll will be searched first for any supplemental files? And what about the "Resource" folder? Does it also need to be in the path or is it expected to be in the folder that contains pdf2image.dll?

Also, my license key apparently does not work with the new files, since the demo watermark is showing up again.
===============================
We have fixed this problem to you, please download the new version of PDF2Image SDK from following URL to try again,

XXXXXXXXXXXXXXXXX

VeryPDF
===============================
Unfortunately, this has made it worse. Now, calling asp_PDFToImageConverter2Ex to create a PNG file from our one-page PDF form fails (result is -1 and there is no output file). I deployed the new code today in the same way I always have (three files: pdf2tiffex.dll, pdf2image.dll, cimage.dll; plus the Resource folder; and registering pdf2tiffex.dll). Also, even non-form PDFs have this same result.
===============================
You need copy p2isdk.dll file to the folder where pdf2image.dll exists too, please add p2isdk.dll file to try again.

VeryPDF
===============================
That makes it even worse. With this DLL in the folder, my PHP script essentially crashes when trying to instantiate the COM or call the conversion function (I don't know where exactly it's crashing, because whatever is happening causes my PHP script to fail completely, generating no exception and no logging output). Removing p2isdk.dll goes back to the previous behavior where the conversion fails and I get no output file but I do get a -1 result code.

Currently, I have the following files in the c:\php folder (which is in the path):
pdf2tiffex.dll
cimage.dll
pdf2image.dll
Resource folder
and just added p2isdk.dll
===============================
Note: We have never used p2isdk.dll before (and other than the checkbox issue, everything else has always worked fine). I have seen several postings in your knowledge base that report that using p2isdk.dll makes conversions twice as slow, which would be a definite show-stopper for us.
===============================
We have fixed this problem to you, please download the new version from following URL,

XXXXXXXXXXXXXXX

We have change following issues in new package,

1. Add ZapfDingbats.ttf file into "Resource" folder,
2. Delete d050000l.pfb file from "Resource" folder,

After you unzip new package to a folder, please run "test.bat" file, you will get a CheckboxForm_2.jpg file, the "checkbox" which render by ZapfDingbats font is right in this new JPG file.

VeryPDF
===============================
Great, ZapfDingbats font is work fine in new version.
===============================
Thanks for your information.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in PDF to Image Converter and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!