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