Re: [iText-questions] Font best practices

2006-03-30 Thread bruno
Chris Fong wrote: Thanks for the reply Bruno. > Can I stick the font in a jar file? Yes, that's possible too. Can you provide an example or a link about how to load a font from a jar file? The iText.jar contains font metrics files in directory com/lowagie/text/pdf/fonts/ ( See Ba

Re: [iText-questions] Font best practices

2006-03-30 Thread Paulo Soares
Just put the full name with the package, for example "/com/lowagie/text/fonts/abc.ttf". Paulo - Original Message - From: "Chris Fong" <[EMAIL PROTECTED]> To: "bruno" <[EMAIL PROTECTED]> Cc: Sent: Thursday, March 30, 2006 7:35 PM Subject:

Re: [iText-questions] Font best practices

2006-03-30 Thread Chris Fong
Thanks for the reply Bruno.>   Can I stick the font in a jar file?Yes, that's possible too. Can you provide an example or a link about how to load a font from a jar file?Thanks,Chris

Re: [iText-questions] Font best practices

2006-03-30 Thread Andy Levy
On 3/29/06, Chris Fong <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I'm a relative newbie so forgive me if this question has been asked before. > I want my application to generate a pdf that uses a TTF font, and looking at > the example docs I would do something like this: > > BaseFont bfComic = >

Re: [iText-questions] Font best practices

2006-03-30 Thread bruno
Chris Fong wrote: Hi everyone, I'm a relative newbie so forgive me if this question has been asked before. I want my application to generate a pdf that uses a TTF font, and looking at the example docs I would do something like this: BaseFont bfComic = BaseFont.createFont("c:\\windows\\fon

[iText-questions] Font best practices

2006-03-29 Thread Chris Fong
Hi everyone,I'm a relative newbie so forgive me if this question has been asked before.  I want my application to generate a pdf that uses a TTF font, and looking at the example docs I would do something like this: BaseFont bfComic = BaseFont.createFont("c:\\windows\\fonts\\comicbd.ttf", BaseFont.C