in reply to How to change font color in PDF based by font name
I'd recommend on not trying to parse the PDF in perl, but leave that to a PDF/postscript interpreter. First, convert the PDF to postscript. Then, edit the postscript to change setfont operations to some procedure that both sets the font and changes the color. (Hope that the postscript program does not change the color after that.) Try to extract the full name of a postscript font with /FontInfo get /FullName get , and change the color according to that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to change font color in PDF based by font name
by vinothjaguva (Novice) on Jul 06, 2011 at 11:49 UTC | |
by ambrus (Abbot) on Jul 06, 2011 at 12:15 UTC | |
by vinothjaguva (Novice) on Jul 07, 2011 at 06:17 UTC | |
by ambrus (Abbot) on Jul 07, 2011 at 14:45 UTC | |
by luis.roca (Deacon) on Jul 07, 2011 at 12:38 UTC |