|
HTML and PDF are fundamentally different. HTML was designed to
specify the meaning of document content and leave the precise rendering
and layout up to the browser. PDF was designed to specify the appearance
of a document and ignore the meaning of the document content.
HTML is being changed to allow greater control over the appearance
of a document and PDF is being changed to allow the meaning of a
document to be better represented. However the fact that the two
specifications are based on diametrically opposed concepts does
mean that it can be difficult to convert between the two.
ABCpdf uses the Microsoft Internet Explorer HTML rendering engine
to convert HTML to a vector form suitable for insertion into your
PDF. This provides an extremely accurate rendition of the HTML.
However this method is not suitable for every situation. Interaction
with the rendering engine is only available via COM and while ABCpdf
takes great care to isolate itself from COM dependencies, rendering
a page of HTML is not as fast as building an equivalent page using
native ABCpdf rendering methods.
Additionally certain information is not easily available. In particular,
images have to be re-compressed and this can mean that your PDFs
are rather larger than the source HTML documents. Also links are
displayed correctly but are inactive - essentially the source HTML
page is converted into a non-interactive image.
|