3 Mar
2004
3 Mar
'04
9:36 p.m.
On Wed, 3 Mar 2004, pawcoo wrote:
please, consider the following simple example of pdftex code:
\pdfliteral{0 1 0 0 k} % Magenta (ugly) \hrule height 1pt \hrule height 1.1pt \end
The upper hairline remains black. What should I do to colorize thin lines also?
Lines with width <= 1 bp are stroked by pdftex, lines wider than that are filled (procedure pdf_set_rule). Stroking CMYK color is set by K, nonstroking by k, so you need both: \pdfliteral{0 1 0 0 k} \pdfliteral{0 1 0 0 K} Regards, Hartmut