Hi,
We are having some problem while creating fonts through my Java servlet
on a LINUX machine. We are using these fonts for writing PDF reports.
For example I am running the the same JAVA programs on NT and creating
"Courier" font. it's working fine. But, when I move the same java
program to LINUX machine it doesn't work. I am using the following line
of code for creating fonts.
Font myFont = new Font("Courier", 8);
We tried to find all the fonts installed on our LINUX machine and we
found Courier font prefixed with "adobe" or "bitstream" etc. My
questions are
1) Do I java to mention like "new Font("adobe-courier")"?
2) How can I make my Java program work on both NT and LINUX with out
having to compile for 2 different environments?
Any help is appreciated and Thanks in advance.
Vamsi.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html