Rotation of pattern fixed again

The patterns are saved with the correct orientation and paper size when written into EPS files.