Hi all

I encountered a problem with the charactercodes and the Symbol font 
(PS-Type1 Symbol). I did my tests on Windows XP with SUNs Java SDK 
1.4.2._06 and iText 1.3 (based on itext-paulo-153).
I use PdfGraphics2D to produce a pdf-file from a Graphics2D object. I want 
to print some text using the Symbol font. As an example, I use the string 
"Hello\u03A9\u0398\u22A5" which includes three Unicode-values for Greek 
characters which are included in the Symbol font. When I directly use this 
string in drawString(), the characters which are defined with their 
unicode-values are not displayed, but the normal characters 'Hello' are 
displayed with Greek characters. When I use an attributedString() and set 
the font to Symbol with addAttribute() and draw it with an 
attributedCharacterIterator the characters 'Hello' are not displayed and 
the characters defined by their unicode-value are correctly displayed as 
expected.

Any idea what goes wrong here?

Thank you and kind regards
Matthias Dillier


This message is for information purposes only. It may not be secure or 
error-free.
The Swiss National Bank does not accept legal responsibility for any 
consequences resulting from e-mail use.



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to