fix PDF shape