Some const correctness on PDF sprite