Hi,

I create a PDF where I write some texts and some tables and where I also
have to draw a map. The map itselfs draws some text with the
g.drawString(...)-method.

Now this method does neither use the BaseFont set in the
PdfConentByte-object before, nor does it embed an appropriate Font if I use
g.setFont(xyz) - though the latter is not very surprising. Now I have read
that PdfGraphics2 is the object actually used. In there a BaseFont is used,
but I cannot find a method to set this BaseFont. And the constructor using a
FontMapper is package-private (therefore not usable by me either).

Now how can I still set a specific Font and guarantee that it gets embedded
in the generated PDF-file. BTW: Everything works pretty well if I use
western fonts, but I get an empty String as soon as I use russian
characters - though the font supports russian characters in the tables
pretty well.

Thanx for any help,

Wolfram Rittmeyer (from Germany)





-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to