Hi All,

I am trying to set Unicode text e.g. Chinese in the signature appearance of
a signature. When I do that I get boxes in the resultant signed pdf. Looking
at the examples and tutorials it seems that the only way to show Unicode
text is to set text as

String text1 = "This text has
\u0634\u0627\u062f\u062c\u0645\u0647\u0648\u0631 123,456 \u0645\u0646";

This creates a problem where one has Unicode text entered/generated at run
time e.g. Signing reason is entered in Chinese and thus making a \uCODE
format is not possible (I am not sure how to generate the \uCODE at run time
but I would like to avoid doing that).

Also I believe I can use both java.awt.Font font = new
java.awt.Font("arial", 0, 18) OR  BaseFont bf =
BaseFont.createFont("c:\\winnt\\fonts\\arial.ttf", BaseFont.IDENTITY_H,
true);

Is there a way to set the actual Chinese text directly in the signature
appearance.

Regards,
Wahaj




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to