public class HelloWorldTTF extends Object
Constructor and Description |
---|
HelloWorldTTF() |
public void doIt(String file, String message, String fontfile) throws IOException, COSVisitorException
file
- The file to write the PDF to.message
- The message to write in the file.fontfile
- The ttf-font file.IOException
- If there is an error writing the data.COSVisitorException
- If there is an error writing the PDF.public static void main(String[] args)
args
- Command line arguments.Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.