map
We can avoid a lot of intermediate resizings, by directly allocating the required number of elements for the `map` array.
paintXObject
Subtype === PS
removeNullCharacters
stringToPDFString