Dear All , 

 Hello ! Can I use iText package "BaseFont" to add
Unicode fonts in run-time and use it in JasperReport
XML : 

 In the JasperReport printing PDF class : 

BaseFont bfComic =
BaseFont.createFont("c:\\winnt\\fonts\\comic.ttf",
BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
Font font = new Font(bfComic, 12);

 In the corresponding XML file : 

<font ...... pdfFontName = "bfComic" ...... /> 

 If it works , how about the setting of pdfEncoding
through iText package ? Thank you !



=====
Jonathan 
(Wong Yat Sing) 
Jonathan Studio
M.P (852) - 91235947 
NetMeeting : [EMAIL PROTECTED]
ICQ# 57646152 



__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to