*** poppler/Annot.cc 2009-09-02 18:48:16.000000000 +0000 --- poppler/Annot_new.cc 2009-10-28 07:59:44.000000000 +0000 *************** *** 3539,3547 **** Array* aspect = obj1.getArray(); if (aspect->getLength() >= 2) { Object tmp; ! width = aspect->get(0, &tmp)->getInt(); tmp.free(); ! height = aspect->get(1, &tmp)->getInt(); tmp.free(); } } --- 3539,3550 ---- Array* aspect = obj1.getArray(); if (aspect->getLength() >= 2) { Object tmp; ! if( aspect->get(0, &tmp)->isNum() ) ! width = (int)( aspect->get(0, &tmp)->getNum() ); tmp.free(); ! ! if( aspect->get(1, &tmp)->isNum() ) ! height = (int)( aspect->get(1, &tmp)->getNum() ); tmp.free(); } }