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
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:
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
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 =
>
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
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