Pages with transparency are rendered differently. See 
http://article.gmane.org/gmane.comp.java.lib.itext.general/21023/.

Paulo

----- Original Message ----- 
From: "NCA" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here" 
<[email protected]>
Sent: Tuesday, January 02, 2007 1:37 PM
Subject: Re: [iText-questions] Font and color render problem


Sorry, I don't understand...

----- Original Message ----- 
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
<[email protected]>
Sent: Tuesday, January 02, 2007 1:55 PM
Subject: Re: [iText-questions] Font and color render problem


Suspeito que uma das páginas tem transparência e a outra não.

Paulo

----- Original Message ----- 
From: "NCA" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, January 02, 2007 11:31 AM
Subject: [iText-questions] Font and color render problem


Hello,
I have a problem when I create a Pdf file, some pages render my text
different than it should be (on Acrobat Reader, but when printed, it's
OK)...
I use an embeded font ( Frutiger45-Light.ttf, size 10, #0C2577 ) for all my
text but it looks different on some pages ( text on the top of the image
should look like the text on the bottom... )

Here is the code I use to write the text

-------------------------------------------------------------------------

  p_pdfContentByte.beginText();
  p_pdfContentByte.setColorFill( font.color());
  p_pdfContentByte.setTextRenderingMode(
PdfContentByte.TEXT_RENDER_MODE_FILL);
  p_pdfContentByte.setFontAndSize( font.getBaseFont(),  font.size());

  p_pdfContentByte.showTextAligned( alignment, text, x, y, 0);

  p_pdfContentByte.endText();
  p_pdfContentByte.resetRGBColorStroke();
  p_pdfContentByte.resetRGBColorFill();

----------------------------------------------------------------------------

Thanks for your answers.


--------------------------------------------------------------------------------


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


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






___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
interface révolutionnaire.
http://fr.mail.yahoo.com


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


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

Reply via email to