Re: [iText-questions] PDF in thai language on Linux

2009-06-17 Thread pedro75
perfect I use the ttf font and all works fine thank you. 1T3XT info wrote: > > pedro75 wrote: >> 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\

Re: [iText-questions] PDF in thai language on Linux

2009-06-15 Thread 1T3XT info
pedro75 wrote: > 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: C

Re: [iText-questions] PDF in thai language on Linux

2009-06-15 Thread pedro75
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 a

Re: [iText-questions] PDF in thai language on Linux

2009-06-15 Thread Bruno Lowagie
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