make page layout debug output DPI independant