In theory, yes.  In practice?  That's a LOT of work.  Probably.  If your
font happens to define its color as a color resource, then changing it
is fairly trivial.  If not... Doing so programatically can be
Non-Trivial.

However, it sounds like you're dealing with a particular file rather
than J Random PDF that needs to be changed on the fly.  It should be
quite simple to change the existing PDF in Acrobat with the text editing
tool.

--Mark Storer
  Senior Software Engineer
  Cardiff.com
 
import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;
 
 

> -----Original Message-----
> From: Jason Berk [mailto:[email protected]] 
> Sent: Wednesday, October 13, 2010 12:26 PM
> To: Post all your questions about iText here
> Subject: [iText-questions] change existing PDFs font color
> 
> I have a single page PDF that contains nothing but text 
> (disclaimers), but the font color isn't black.  I need to add 
> this single page to a PDF I'm creating dynamically, but I'd 
> like to change the font color to black along the way.  
> 
> Is this possible?
> 
> Jason
> 
> ***This is a transmission from Purdue Employees Federal 
> Credit Union (PEFCU) and is intended solely for its 
> authorized recipient(s), and may contain information that is 
> confidential and or legally privileged.  If you are not an 
> addressee, or the employee or agent responsible for 
> delivering it to an addressee, you are hereby notified that 
> any use, dissemination, distribution, publication or copying 
> of the information contained in this email is strictly 
> prohibited. If you have received this transmission in error, 
> please notify us by telephoning (765)
> 497-3328 or returning the email. You are then instructed to 
> delete the information from your computer.  Thank you for your
> cooperation.***
> 
> 
> --------------------------------------------------------------
> ----------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time 
> creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Many questions posted to this list can (and will) be answered 
> with a reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples: 
> http://itextpdf.com/themes/keywords.php
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 9.0.862 / Virus Database: 271.1.1/3192 - Release 
> Date: 10/12/10 23:34:00
> 

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to