FAQ

Top  Previous  Next

Does wPDF only work with WPTools ?

 

No, wPDF can also be used to create PDF files from general drawing code, such as Canvas.TextOut(). It works in two way 1) as export component for WPTools 2) as a universal PDF creation tool which provides a compatible canvas (class TCanvas). We have developed interface classes many important report engines.

 

Can I use wPDF to read and print PDF files ?

Sorry, this is not possible. What wPDF does is to reuse the data stored in an existing PDF file as watermarks for a new PDF file. While doing this it preserves the original information and does not interpret and translate the PDF file. This functionality is in particular useful when 'printing' to government forms.

 

When exporting text from my application characters overlap

Please make sure to specify the height for the fonts as negative values. Otherwise Windows works with rounded values and you do not get the same output in PDF as visible on screen.

 

Is the source code available ?

wPDF includes the pascal source for the VCL class which accesses the PDF-Engine DLL. This makes it possible to recompile the library with different Delphi or C++Builder Compiler. It does not include the source for the PDF- Engine. The source can be licensed for additional charge.

 

When do I need the 'Internet Server' License?

You need this license type if you want to create an application which runs on an internet server, such as an automatic order processing system.

 

I have the registered version but I still get the blue text / message box

You probably have forgotten to tell the engine your license information. You need to use the procedure WPDF_START(). The necessary codes have been sent to you. (Does not apply to the 'Source license')

 

The created PDF files are too big!

1) Please check the Font-Mode property. If you embed true type fonts this adds about 200KB data to the PDF file for each font if you don't use subsets. wPDF V4 can also create Type3 fonts which will be as small as possible.

2) It makes a difference whether you use jpeg or deflate compression for the images. Jpeg is better for photos, deflate is better for charts. Monochrome bitmaps will be always deflate compressed.

 

Certain text which should be italic is not exported italic

This happens when the used font does not exist as italic version.

 

Certain text which should be bold is not exported bold

This happens when the used font does not exist as bold version. As work around You can use the SimulateBold Mode.

 

Some of my graphics do not come out correctly. What can I do?

 

Although the PDF engine converts the output produces by a huge number of different applications sometimes not everything can be converted.

Clipping pathes can be converted but regions cannot if they are used within a rotated coordinate system (very seldom).  We suggest to use paths where you used regions before. Not supported are text paths (for example text filled with a certain pattern), please use curves instead. Filling supports solid colors or the standard hatch styles. Custom patterns or bitmaps cannot be used to fill areas. You need to create a clipping path and print the graphic multiple times. (wPDF will automatically detect the duplicates)

It is also not possible to export files generated by the spooler, those files are not really EMF files.