Re: [iText-questions] FontFactory.register and jars

2006-11-28 Thread Paulo Soares
Try: FontFactory.register("/resources/fonts/times.ttf", "my_times_font"); Paulo - Original Message - From: "Trevor Kramer" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Tuesday, November 28, 2006 10:14 PM Subje

[iText-questions] FontFactory.register and jars

2006-11-28 Thread Trevor Kramer
Is it possible to use a font in a jar with FontFactory.register()? When I try this FontFactory.register(getClass().getResource("/resources/fonts/times.ttf").getPath(), "my_times_font); I get a Caused by: ExceptionConverter: java.io.FileNotFoundException: /Users/user/Documents/src/project/dist/pro