Fixes #20 - set density on pdf import