I would like to create a true type font using a .ttf
file stored in the same jar file as my class file.
For example, the below code works until I jar it up.
java.net.URL url =
getClass().getResource("fonts/myfont.ttf");
//BaseFont mf = BaseFont.createFont(url.getPath(),
BaseFont.WINANSI, BaseFont.EMBEDDED);
Thanks
=====
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-------------------------------------------------------
This SF.NET email is sponsored by: The Best Geek Holiday Gifts!
Time is running out! Thinkgeek.com has the coolest gifts for
your favorite geek. Let your fingers do the typing. Visit Now.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions