The lines are really black but as opacity is used the rules of the game change. There was a recent thread about colorspaces that should enlighten you. The short story is: don't use alpha.
Paulo > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Paulo Soares > Sent: Thursday, March 29, 2007 3:44 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] fills and direct content > > I use Acrobat 7 and I see black. Can you point to one of the > lines that you see gray so that I can check the actual color > in the content stream? > > Paulo > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Twins fan > > Sent: Thursday, March 29, 2007 3:40 PM > > To: Post all your questions about iText here > > Subject: Re: [iText-questions] fills and direct content > > > > Paulo, thank you for you answers. I envy your viewer. I have Adobe > > Reader 8 for Win. and those lines are gray with maximum > magnification. > > Also in print. > > > > Does anyone know the answer for the question below? > > > > kuvera > > > > > > Paulo Soares írta: > > > If you magnify enough you'll see that all lines are black. > > If you see gray that's an artifact of your viewer. > > > > > > Paulo > > > > >> I thought of another solution: > > >> I have a background color (say white), a foreground color > > (say black), > > >> and a transparency (say 90%, alpha=0.1). > > >> Is there a java method that calculates the RGB of the gray > > color that > > >> should be displayed to represent the transparency? > > >> Then I can use a solid fill with that color, and > transparency won't > > >> cause trouble. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
