dave2297 Posted February 10, 2011 Posted February 10, 2011 Hi all Can anyone please help me? I have a client supplied pdf that uses a 75% black font out of CMYK (ie C-00, M-00, Y-00, K-75). I need to replicate the font color to insert variable text into the document and thought (erroneously - obviously) that I could just create a rule with <color cmyk = 00000075> + Field name to create the 75 black - WRONG! Upon reading the documentation I saw that I had to use pairs of Hexadecimal characters, so I thought that the code would be 0000004b (4b being Hex for 75) - this resulted in a 29.41% Black. Can someone please tell me where I'm going wrong Thanks Dave
step Posted February 10, 2011 Posted February 10, 2011 Try going to the FusionPro menu > Advanced> Colors... Add a color called "Gray" with the build of 0,0,0,75 Then tell your variable text to be "Gray" in your text editor window.
Dan Korn Posted February 10, 2011 Posted February 10, 2011 I have a client supplied pdf that uses a 75% black font out of CMYK (ie C-00, M-00, Y-00, K-75). I need to replicate the font color to insert variable text into the document and thought (erroneously - obviously) that I could just create a rule with <color cmyk = 00000075> + Field name to create the 75 black - WRONG! Upon reading the documentation I saw that I had to use pairs of Hexadecimal characters, so I thought that the code would be 0000004b (4b being Hex for 75) - this resulted in a 29.41% Black. Can someone please tell me where I'm going wrong If you're using the Hexadecimal values, then each channel (cyan, magenta, yellow, black) is not a percentage from 0 to 100; it's a value from 0 to 255 (FF in hex). The Tags Reference infers this with its examples of <color rgb="ff0000"> for red and <color cmyk="ff00ff00"> for Green. So 75 percent black would be about 191, or BF in hex, and your tag should be <color cmyk=000000BF>. Or just define the color in the Colors dialog as the previous post suggested.
dave2297 Posted February 11, 2011 Author Posted February 11, 2011 Hi step/Dan I refuse to believe that the solution is that simple and I demand that you give me a more difficult way of achieving this!! Only joking folks, I can't believe I'm such an idiot. Thank you so much for your help Kind regards Dave
Recommended Posts
Archived
This topic is now archived and is closed to further replies.