Hi everybody!

I've been using iText with a WebObjects application for well over a year now
and haven't had any problems so far. Now there's something odd which I
really don't understand:

The app uses iText to generate a bill and since the billing currency is EUR,
I have some â signs (\u20ac) in there. It's been quite some time since the
relevant code was finished but I recently had to revisit it. As I'm
developing on OS X (10.3.3), I used Preview.app to glean at the resulting
pdf: there is not a single Euro-sign in there.
First, I thought it'd be the move from j2se 1.4.1 to 1.4.2. Then, the
FreeBSD server the app gets deployed on. Then I moved to the current iText
version (1.02b). However, in the end it turned out that the very same
document, opened with Acrobat Reader 5 or 6 is displayed as it should, with
all the Euro-signs.
So, I tried to use some simple code (Chap0901.java from the iText examples).
Same problem. Whether I create the pdf on OS X or on FreeBSD. Whether I
choose to embed the font or not (leaving the example unchanged otherwise).
Setting the encoding to MACROMAN makes a placeholder appear instead of the
Euro-sign - in both Acrobat Reader and Preview.

While this problem is by no means critical, I definitely want to know what's
going on here. Is this a bug in Preview.app? (Other documents with the
Euro-sign are displayed nicely by Preview...) What really strikes me is that
the problem persists when I embed the font!?

Any pointers are most welcome!

Fabian



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to