Quoting [EMAIL PROTECTED]:

> Hello list-members,
> 
> Is it possible to generate pdf document with greek, cyrillic or any language
> 
> characters with the iText xml API?
> 
> <?xml version="1.0" encoding="UTF-8"?>
> ...
> <paragraph font="c:\\winnt\\fonts\\comicbd.ttf">
>   Euro :  &#x20ac; 
>   Some cyrillic characters: &#x0418; &#x044f; 
> </paragraph>
> 
> This example is efficient with the euro character but isn't with the
> cyrillic.
> And I know that comicbd support the cyrillic characters.
> 
> Anyone have any ideas?

Support for other encodings in XML is not written yet.
You can use a (rather dangerous) trick to solve the
problem (if your JVM is used for one purpose only):
set the encoding in FontFactory to the one you want
to use. Development of XML functionality is frozen
for the moment.

Bruno

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to