That's really strange. The method where the exception is thrown is called
after the embedded information is sent to the pdf, so the byte array has the
font. It can only throw the exception if head.unitsPerEm is zero and that
value was used before many times.
I tested your code and it works.
Best
- Original Message -
From: Paulo Soares [EMAIL PROTECTED]
To: 'Jeff Larsen' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, May 14, 2002 5:22 AM
Subject: RE: [iText-questions] True Type Font Portability and Division by Zero
exception
That's really strange. The method where