the current implementation uses the maximum page height/width to calculate the scale to use in whole pdf.
If you want to use different scales for each page, you should modify the base layout method and manage a scale array in whole project instead of a single scale value.