Why does the scale not work in pdf?