Re: [iText-questions] Need Help about Fonts

2007-09-20 Thread bright_shine
Thanks for your answer. The question has been resolved ! The reason is we should put the *.TTF files put JAVA_HOME/jre/lib/Fonts catalog. -- View this message in context: http://www.nabble.com/Need-Help-about-Fonts-tf4485582.html#a12811470 Sent from the iText - General mailing list archive at N

Re: [iText-questions] Need Help about Fonts

2007-09-20 Thread Bruno Lowagie (iText)
Paulo Soares wrote: > What's the problem in Linux? Saying it doesn't work > it's not that helpful. Using a hardcoded path to a path that doesn't exist on Linux neither: >> "c:/windows/fonts/SIMLI.ttf" Maybe it's as simple as that. But as you say, there's no way for us to know for sure. br, Bruno

Re: [iText-questions] Need Help about Fonts

2007-09-20 Thread Paulo Soares
What's the problem in Linux? Saying it doesn't work it's not that helpful. Paulo --- bright_shine <[EMAIL PROTECTED]> wrote: > > Hello everyone! > > I use BaseFont to create a SIMLI.TTF font in > windows. It run OK. > But in Linux its not, and there is no Exception. > Why? > Who can told me

[iText-questions] Need Help about Fonts

2007-09-19 Thread bright_shine
Hello everyone! I use BaseFont to create a SIMLI.TTF font in windows. It run OK. But in Linux its not, and there is no Exception. Why? Who can told me ? Thanks. BaseFont bf; bf = BaseFont.createFont("c:/windows/fonts/SIMLI.ttf",BaseFont.IDENTITY_H, BaseFont.EMBEDDED); font = new Font(bf, 18);