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
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
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
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);