Hi. Disclaimer: I'm just a lurker here and lack decent itext experience. Anyway:
On Tue, 16 Dec 2008 05:42:53 -0800 (PST), kurent <kurent....@gmail.com> wrote: > BaseFont BaseFontek = null; > try > { > BaseFontek = > BaseFont.createFont("GS_confidentialA1_priority1\\defenseStatusReports\\iText_font\\verdana.ttf", > BaseFont.CP1250, BaseFont.EMBEDDED); > } catch (DocumentException e) { } You embed verdana regular, file verdana.ttf. > // step 4: we add a paragraph to the document > Font font = new Font(BaseFontek, 12, Font.BOLD); This probably needs "Verdana Bold", verdanab.ttf. Not the same thing! > But when doing this bold text is transparent. See above and think about embedding the bold variant as well. Regards, Ben ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php