My problem is, that the pdf only contains the content that is smaller that the y coordinate of 1000.
Everything below this is not displayed in the resulting painting.
To illustrate: the final line lines should more or less touch the right bottom of my pdf. Instead it is cut off at the middle because my pdf just ends there.