Re: [iText-questions] String Size

2003-06-10 Thread Paulo Soares
Use BaseFont.getWidthPoint(). Best Regards, Paulo Soares - Original Message - From: "Sam Maina" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 17:03 Subject: [iText-questions] String Size > I need help in determining the size if a str

[iText-questions] String Size

2003-06-10 Thread Sam Maina
Title: Message I need help in determining the size if a string  of a particular font. I noticed that com.lowagie.text.pdf.PdfGraphics2D.PdfFontMetrics  has a stringWidth(String) method which could probably be helpful. Unfortunately, the constructors of this class are private. How can solve t