I create a Chunk object with a Font that is bold, italic and underlined. The 
text of the Chunk object contains German letters like "ÄÖÜ". The problem is 
that the background doesn't fill the complete Chunk. The points above 
the "ÄÖÜ" and the underline have no background. Any ideas what I could do?

Code example:
Font font = new Font(Font.getFamilyIndex("Arial"), 12, Font.NORMAL, Color.RED);
font.setStyle(Font.BOLD);
font.setStyle(Font.ITALIC);
font.setStyle(Font.UNDERLINE);

Chunk chunk1 = new Chunk("ÄÖÜ", font);
chunk1.setBackground(Color.GRAY);
Phrase phrase1 = new Phrase();
phrase1.add(chunk1);
document.add(phrase1);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to