PDF glossary
Graphics state
The current settings used while drawing: transformation, colours, line width, fonts, clipping and more.
Content streams save and restore the graphics state with q and Q, like pushing and popping a stack.
An unbalanced save or restore can change how everything after it is drawn.
Related terms