ok you suggest to add a font.

I downloaded this free font "courmon.ttf" I stored it as a resource. So now
I use it and all works 
BaseFont bfComic = BaseFont.createFont("resourceDIR\\courmon.ttf",
BaseFont.IDENTITY_H, BaseFont.EMBEDDED);  

My question now is this: Can I use both ttf fonts  and also bdf fonts  ? Or
on linux platform I must use only bdf?

Regards 


Bruno Lowagie (iText) wrote:
> 
> pedro75 wrote:
>> But my question is how to produce this pdf file without know the
>> platform.
>> In linux of course font's directory is different, fonts are different
>> etc.
> 
> Ship the font with your application (if the license of the font allows 
> it). You can load it as a resource from a jar.
> br,
> Bruno
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/PDF-in-thai-language-on-Linux-tp24034994p24037302.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to