Andrej Virant wrote:
> Hello,
> 
> I have to use Adobe Type 1 font (.pfb). I use Java 6. When I use this 
> font in application, it has no problems using font, but when I try this 
> when making PDF, it uses default font in instead of one I choose. Can 
> you tell me how to use Adobe Type 1 font with iText PDF creator? Ma code 
> that works wrong is bellow.

I fear that the FontMapper isn't able to map the font
when you create your java.awt.Font the way you do.
Maybe you should write your own implementation of the
Mapper and check what goes on inside.
-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to