Re: [iText-questions] Problem with fonts

2004-09-01 Thread Mat Gessel
I take it you're deploying via a WAR/EAR file? It appears that fonts can be read from a URL. Snipped from RandomAccessFileOrArray.java (line 80): File file = new File(filename); if (!file.canRead()) { if (filename.startsWith("file:/") || filename.start

Re: [iText-questions] Cropping a PDF

2004-08-06 Thread Mat Gessel
Creo makes a free crop tool for Acrobat which may give you better results. It allows you to individually set crop, media, trim and bleed boxes. You probably want to set the trim box--though some RIPs use crop box too. You have to create an account @ their website (also free). Search the download

Re: [iText-questions] How to re-use embedded fonts from a template

2004-08-02 Thread Mat Gessel
At 07:39 AM 8/2/2004, Joris Verschoor wrote: Hi, I'd like to know how I can reuse a font that is used in a template pdf (after adding the PdfImportedPage) Based on a previous reply from Paulo you have to use PdfStamper. I was able to get it to work using the following code. -= Mat void copyTemp

[iText-questions] Writing text using embedded fonts

2004-05-17 Thread Mat Gessel
I'm writing an application which creates a new PDF, inserts the contents of a template PDF and adds additional text to the PDF. The template PDF may be generated on Mac or Win and utilize any type of font. What I would like to do is embed the entire font in the template and use that font to add a