Merge pull request #3485 from jkseppan/reduce-xobjects

ENH : Reduce the use of XObjects in pdf backend