Sorry, the code in my case is quite complex and customized for our systems.
Just thought someone would immediatelly point out the problem from
experience.

I did figure out where it goes wrong with the help of your example - with
font definition. I embedded the font because without it I cannot guarantee
special characters of my language being displayed correctly.

BaseFont BaseFontek = null;
try
{
BaseFontek =
BaseFont.createFont("GS_confidentialA1_priority1\\defenseStatusReports\\iText_font\\verdana.ttf",
BaseFont.CP1250, BaseFont.EMBEDDED);
} catch (DocumentException e) { }

// step 4: we add a paragraph to the document 
Font font = new Font(BaseFontek, 12, Font.BOLD);


But when doing this bold text is transparent. 
-- 
View this message in context: 
http://www.nabble.com/Bold-text-not-visible-in-landscape-tp21012255p21033302.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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

Reply via email to