The example written by Paulo:
BaseFont bf =
BaseFont.createFont("c:\\windows\\fonts\\l_10646.ttf",BaseFont.WINANSI,
true);
was the solution i've never tested. It has to be the WINANSI encoding.
And in my specific situation the Font-Embedded-Parameter has to be false.
Thank you for all the help!
P.S.: iText is the best open source java library i've ever used!
"Bruno Lowagie (iText)" <[EMAIL PROTECTED]>
Gesendet von: [EMAIL PROTECTED]
14.05.2007 13:29
Bitte antworten an
Post all your questions about iText here
<[email protected]>
An
Post all your questions about iText here
<[email protected]>
Kopie
Thema
Re: [iText-questions] Antwort: Re: unicode output format for all signs
[EMAIL PROTECTED] wrote:
> The problem is that I have to write the string "@@NUMBER1234@@" to the
PDF.
As a string that has to be displayed on a page?
As a comment inside the PDF?
As a field name?
As a field value?
> This string has to be displayed as only characters not as the equivalent
> glyph expression.
What does that mean?
A PDF is a series of bytes.
How does iText 'display' your String
and how do you expect it to be displayed?
The way you describe it, it's as if you assume that iText
only uses Graphics operators to 'draw' the glyphs (which
is perfectly possible, but not always desirable) instead
of using Text operators (which is the default in iText).
> I've read the example at
> http://itextdocs.lowagie.com/tutorial/fonts/index.html .
> But it seems that it doesn't work as i want, or i do something wrong.
As long as you don't say WHAT you do and WHY you think
it's wrong, we can only guess.
best regards,
Bruno
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/