Hi,
I am using iText and Java to fill a pdf form. The font in the pdf form text
field properties is set to "Arial Bold Italic 9". In the code I have embedded
the font like this:
BaseFont bfArialBoldItalic =
BaseFont.createFont("c:\\windows\\fonts\\arialbi.ttf", BaseFont.CP1252,
BaseFont.EMBEDDED);
PdfContentByte cb = writer.getDirectContent(); // Holds the PDF data
cb.setFontAndSize(bfArialBoldItalic, 9);
But for some fields the bold and italic are not being rendered. Check the
screenshot below. This is just a part of the pdf, it is like this for many text
fields.
Thank You, Madhuri Garigipati Coplogic, Inc. 231 Market Place San Ramon, Ca. 94583 www.coplogic.com
<<inline: image002.png>>
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
