Knockout: by default, XPS uses the painters model, where existing pixels are replaced with pixels from the object rendered on top of it (at least for opaque content). That means, that for black text on top of any background the black text pixels simply replace the background pixels.
There are two possible mechanisms to control behavior deviating from this default:
a) Use of Markup extensions would allow a per-element level control of a custom attribute specifying knockout behavior
b) Custom PrintTicket features could be introduced to control this type of behavior
Other than that, the current XPS specification does not provide a standardized solution, other than some control for black generation and undercolor removal via the PrintTicket (section 8.5).
Trapping could also be specified by a custom PrintTicket feature, but similar to knockout control, this custom feature would not be standardized by the specification. |