Hi,
i am printing pdf documents in Indic languages using unicode technology with the following code.

import java.awt.Font;
import java.awt.Graphics2D;
import java.io.FileOutputStream;

import com.lowagie.text.Document;
import com.lowagie.text.PageSize;
import com.lowagie.text.pdf.PdfContentByte;
import com.lowagie.text.pdf.PdfWriter;


public class HindiText {

public static void main(String[] args){

Document document = new Document();
try {
PdfWriter writer =
PdfWriter.getInstance(document,
new FileOutputStream("Shanti.pdf"));
document.open();
PdfContentByte cb = writer.getDirectContent();
Graphics2D graphics2D = cb.createGraphicsShapes(
PageSize.A4.getWidth(), PageSize.A4.getHeight());


Font font= new java.awt.Font("Lohit Hindi",
java.awt.Font.PLAIN, 10);
graphics2D.setFont(font);
String text = "Text:\u0936\u093e\u0902\u0924\u093f";
graphics2D.drawString(text, 36, 54);
graphics2D.dispose();
} catch (Exception e) {
System.err.println(e.getMessage());
}
document.close();


}

}


The code works fine for windows but gives a blank document on Fedora. I have tested the code with several unicode fonts present on Fedora.
My version of Fedora is 9.0.
Kindly help.
regards,
Nitin