Marco wrote:
> This is an example of the code I use.

Reading your code it is now clear to me that you're on the wrong forum.
There is no iText code involved when you create a java.awt.Image based
on text written to a canvas. You should post this question on a Java
forum.

> As com.lowagie.text use some font saved in 
> com/lowagie/text/pdf/fonts, can I use this Fonts (that are the same in 
> all PC) for Frame?
> 
> I need something as "public java.awt.Font getDefaultPdfFont()" for 
> insert a g.setFont in paint method of Canvas. It exists?

I have no idea what you are talking about.
Please take a few steps backwards and have another look
at your project. Why do you want to add text to a PDF
using java.awt.Image? If you can explain us why, we can
probably advise you some other possibilities that will
simplify your task dramatically. Because now you are
trying to catch a mouse using an elephant. (Is that even
an expression?)
br,
Bruno

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to