Fix for Issue #1: Allow custom page sizes with landscape orientation in WirePDF