Am 02.04.2015 um 08:59 schrieb Tilman Hausherr:
I'll think about whether to make a check for the current colorspace in the other setNonStrokingColor methods if needed.
I am mistaken. The "g" operator also sets the colorspace to DeviceGray. From the spec:
G: Set the stroking colour space to DeviceGray (or the DefaultGray colour space; see 8.6.5.6, "Default Colour Spaces") and set the gray level to use for stroking operations. gray shall be a number between 0.0 (black) and 1.0 (white).
g: Same as G but used for nonstroking operations --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org