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.
In reply to Re: How to change font color in PDF based by font name
by ambrus
in thread How to change font color in PDF based by font name
by vinothjaguva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |