Build and generate PDF example:
-------------------------------
Requirements: ant installed.

1) Download and unzip the Flying Saucer XHTML renderer project from
   https://xhtmlrenderer.dev.java.net/
   eg.
	http://pigeonholdings.com/projects/flyingsaucer/downloads/r8/flyingsaucer-R8pre2.zip
	
2) Copy the jars from the download to the projects "lib" folder:

	minium.jar
	core-renderer-minimal.jar
	core-renderer.jar
	itext-paulo-155.jar

3) Build with ant

	$ cd <project>
	$ ant
	
The file "dist/example.pdf" is created from "example_xhtml/index.xhtml" and opend in Preview (Mac OS X).


Custom font example:
--------------------
1) Copy a font to the "fonts" folder inside the example, eg:

	$ cp /Library/Fonts/Impact.ttf example_xhtml/fonts

2) Update example_xhtml/index.xhtml to reference the new font (Impact is referenced already).

3) Re-create PDF

	$ ./make-example-pdf.sh


WebObjects
----------
It should be relatively easy to wrap in a component.


Copyright
---------
Except for the file "src/jargs/gnu/CmdLineParser.java" which is licensed separately, all other files are placed in the public domain. Use those as you like.
