Hubert.
From: Paulo Soares <[EMAIL PROTECTED]>
To: 'Hubert Lingo' <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: RE: [iText-questions] Image coming from jFreeChart
Date: Fri, 27 Jun 2003 11:27:08 +0100
You must use a DefaultFontMapper to register the fonts, othewise iText won't
know how to map the fonts and will only include the built-in ones.
Best Regards, Paulo Soares
> -----Original Message-----
> From: Hubert Lingo [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, June 26, 2003 14:06
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Image coming from jFreeChart
>
> Hi everyone,
> I'm using jFreeChart to generate some charts. And then incorporate
> them
> in my PDF files. It works fine, (thanks to the coders of iText). I only
> have
> a small problem with fonts. Actually, when I put my chart into the PDF,
> the
> fonts are not the same. Question is: is it a problem with iText or with
> jFreeChart. How to verify what jFreeChart gives to iText? Below, a part of
>
> the code I use to integrate charts into PDF.
>
>
> PdfContentByte content = writer.getDirectContent();
> JFreeChart chart = createChart(chartData);
> content.saveState();
> Graphics2D graphic = content.createGraphics(500, 400);
> chart.draw(graphic, new Rectangle(0, 0, 500, 400));
> graphic.dispose();
> content.restoreState();
>
> Thank you in advance for any advice.
>
> Hubert
>
> _________________________________________________________________
> MSN Messenger : discutez en direct avec vos amis !
> http://www.msn.fr/msger/default.asp
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr/worldwide.asp
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
