Hi I'm using iText in my Java program. I think it's a good product.
But I have a problem. I don't know how can I set bold, italic and underline for an absolute-positioned text. I mean: cb = writer.getDirectContent(); page1 = writer.getImportedPage(reader, 1) cb.addTemplate(page1, 0, 0); cb.beginText(); String docFont = "Courier"; BaseFont bf = BaseFont.createFont(docFont, BaseFont.WINANSI, BaseFont.NOT_EMBEDDED); cb.setFontAndSize(bf, docDimFont); cb.showTextAligned(PdfContentByte.ALIGN_LEFT, temp, curPdfX, curPdfY, 0); ... But I can't find the way to set the character properties (bold, italic, underline). It's important, and I cannot write text using chunks, paragraphs and so on, only by absolute positioning. It's a problem. Please answer me to [EMAIL PROTECTED] Thank you very much. __________________________________________________________________ Tiscali ADSL libera la velocita'! Attiva Senza Canone entro il 12 luglio: navighi a 1,5 euro l'ora per i primi 3 mesi,se scegli il modem e' tuo in comodato gratuito e in piu' hai gratis SuperMail per 12 mesi. Non aspettare, attivala subito! http://abbonati.tiscali.it/adsl/prodotti/640Kbps/ ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
