support for pdf based size