In this case the bold is simulated with a specific text mode and a thickened
stroke. You get the same transparency with any viewer? It may be a viewer bug.
Paulo
> -----Original Message-----
> From: kurent [mailto:[email protected]]
> Sent: Tuesday, December 16, 2008 1:43 PM
> To: [email protected]
> Subject: Re: [iText-questions] Bold text not visible in landscape
>
>
> 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\\defenseStatu
> sReports\\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.
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php