|
Help me please!
I cann´t change font syze and font type in my report, I use PDF.
I don´t use Paragraph or Phrase to print my infomation.
I use a html file to parse PDF with function "parser.parse(ips, new SAXmyHtmlHandler(document))"
Where:
SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
InputSource ips = new InputSource( new InputStreamReader( new FileInputStream(htmlFile),"iso-8859-1")); Document document = new Document(PageSize.A4, 80, 50, 30, 65);
PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(pdfFile));
|
