PDF Pugin

Just a quick question on the pdf plugin. I have successfully generated a pdf.

  1. Does the plugin work server side, i,e as long as their is a pdf capable printer on the servoy server it will always generate the pdf file irrespective of what is installed on the local machine?

It is entirely server-side. That is one of the really great things about it. There is no need to intall a separate PDF printer driver on each client computer. It also works with smartclient, headless client, and webclient.

Dean Westover

Inserting fonts cannot be used server side - the path is relative to the client.

So, fonts will never be embedded unless all fonts exist on the client machine - AFAIK and see in my testing.

Is is possible to add fonts into the itext.JAR or somewhere else on the server so that fonts are embedded automatically without requiring each client to have the same fonts?

Nolan M.
FSCI

Isn’t the font thing always a problem unless fonts are embedded in the document itself?

I would not recommend distributing fonts with the plugin. They will never satisfy everybody and it involves new challenges when it comes down to different platform and different font types used.

Yes, but to embed the fonts, the plugin uses a CLIENT relative path…so each and every client will need to have any fonts you use on forms printed as a PDF in order to embed.

A fully server-side solution would be able to point to a font path ON SERVER therefore letting you embed and supply the fonts as needed in one spot and NOT distributing them to all clients.

I don’t think including them in the plugin is warranted…but the plugin should be able to utilize a local server font path, not just a client relative font path.

Nolan M.
FSCI

I agree,

i still dont even seem to be able to get Times working! let alone anything else.

The plugin still does not render small JPG images (in my case a signature at the bottom of a 5 page report) properly everytime you run a method which creates a pdf.

It is very hit and miss, This is on the bug list, but as yet not answered.

David