Font size calculation

2011-07-13 Thread SasiKanth Chandran
Hi, How do i calculate the font size from a string based on the type of font is selected ? Like FontMetrics in Java AWT API, Is there any API in PDFBox to do the calculation ? Thanks, Sasi

Re: Image is not shown in the generated PDF

2011-07-12 Thread SasiKanth Chandran
Thanks Andreas Lehmkühler It is working now. -Sasi On Tue, Jul 12, 2011 at 1:28 PM, SasiKanth Chandran wrote: > Hi, > > I am trying to generate a PDF which will contain a report in tabular > format. At the top left corner of each page i added a .jpeg...but the image > is

Re: Image is not shown in the generated PDF

2011-07-12 Thread SasiKanth Chandran
Can anyone help me resolve the issue ? Thanks, Sasi On Tue, Jul 12, 2011 at 1:28 PM, SasiKanth Chandran wrote: > Hi, > > I am trying to generate a PDF which will contain a report in tabular > format. At the top left corner of each page i added a .jpeg...but the image > is

Image is not shown in the generated PDF

2011-07-12 Thread SasiKanth Chandran
Hi, I am trying to generate a PDF which will contain a report in tabular format. At the top left corner of each page i added a .jpeg...but the image is not shown when viewing the PDF. I understood from the pdfbox mailing archive list that " PDJpeg can not be created while a ContentStream is being