Now it works. Thank you all you are wonderful! :)

Before I just copy pasted your code. Noticed you define the font differently
and somehow it works. 

// define the BaseFont
BaseFontek = BaseFont.createFont("verdanab.ttf", BaseFont.WINANSI,
BaseFont.EMBEDDED);


// then define the font, like this it doesn't work
Font font = new Font(BaseFontek, 12, Font.BOLD);

// when you leave out the Font.BOLD it works
Font font = new Font(BaseFontek, 12); 

Kinda makes sense since I was saying I want a font that is already bold in
Font.BOLD.


But it is strange why it would stop working when you rotate the A4.
-- 
View this message in context: 
http://www.nabble.com/Bold-text-not-visible-in-landscape-tp21012255p21051135.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