[iText-questions] Loading fonts from a stream

2009-11-28 Thread Chris Constantin
Hi all! I'm trying to use iTextSharp in an Windows Azure app. The problem I'm having is that I cannot rely on the system fonts to be there, so I have to embed the fonts I need to use in my app. As far as I can tell, the only way to load fonts is from a disk, because iText gets a lot of info from t

Re: [iText-questions] Loading fonts under Weblogic

2009-10-05 Thread Paulo Soares
6 PM Subject: [iText-questions] Loading fonts under Weblogic I am having a problem with iText when I deploy my application to weblogic. It blows up when I use ServletContext.getResource() to get a reference to a font file and ask iText to load it. Stack trace: Caused by: ExceptionConverter: java.io.IO

[iText-questions] Loading fonts under Weblogic

2009-10-05 Thread Troy Motte
I am having a problem with iText when I deploy my application to weblogic. It blows up when I use ServletContext.getResource() to get a reference to a font file and ask iText to load it. Stack trace: Caused by: ExceptionConverter: java.io.IOException: zip:/u01/app/oracle/product/weblogic/user_

Re: [iText-questions] loading fonts from byte[]

2007-09-08 Thread Torgeir Veimo
On Thu, 2007-09-06 at 19:22 +0100, Paulo Soares wrote: > BaseFont.createFont("Tec-Medium.afm", ... > Yes, that works very well, thank you! > > I'm trying to load fonts from some proprietary repository (day jcr repo) > > and thus I need to load the fonts from byte arrays. I've tried doing > > >

Re: [iText-questions] loading fonts from byte[]

2007-09-08 Thread Torgeir Veimo
On Thu, 2007-09-06 at 19:22 +0100, Paulo Soares wrote: > BaseFont.createFont("Tec-Medium.afm", ... > Yes, that works very well, thank you! > > I'm trying to load fonts from some proprietary repository (day jcr repo) > > and thus I need to load the fonts from byte arrays. I've tried doing > > >

[iText-questions] loading fonts from byte[]

2007-09-06 Thread Torgeir Veimo
I'm trying to load fonts from some proprietary repository (day jcr repo) and thus I need to load the fonts from byte arrays. I've tried doing BaseFont tecMedium = BaseFont.createFont("Tec-Medium", BaseFont.WINANSI, true, true, getBinaryContent(request,"/path/.../Tec-Medium.afm"), getBinary

Re: [iText-questions] loading fonts from byte[]

2007-09-06 Thread Paulo Soares
BaseFont.createFont("Tec-Medium.afm", ... Paulo - Original Message - From: "Torgeir Veimo" <[EMAIL PROTECTED]> To: Sent: Thursday, September 06, 2007 6:15 PM Subject: [iText-questions] loading fonts from byte[] > I'm trying to load fonts from some pr

[iText-questions] loading fonts from byte[]

2007-09-06 Thread Torgeir Veimo
I'm trying to load fonts from some proprietary repository (day jcr repo) and thus I need to load the fonts from byte arrays. I've tried doing BaseFont tecMedium = BaseFont.createFont("Tec-Medium", BaseFont.WINANSI, true, true, getBinaryContent(request,"/path/.../Tec-Medium.afm"), getBinary

Re: [iText-questions] loading fonts

2005-05-06 Thread Paulo Soares
Font loading is independent of jvm or awt. It's probably something else. Looking at the pdf might help. - Original Message - From: "Justin Lee" <[EMAIL PROTECTED]> To: Sent: Friday, May 06, 2005 9:31 PM Subject: [iText-questions] loading fonts > For some rea

[iText-questions] loading fonts

2005-05-06 Thread Justin Lee
For some reason my font loading quit working ... but only for one font. Now, I *did* update from 1.4.2_07 to 1.4.2_08 but I'm loading fonts by file path so I'm not sure that should matter, but I might as well mention it. All the other fonts seem to load just fine, but one particular font doesn't