giza: fix bug in pdf rendering