Version: (using KDE KDE 3.2.2) Installed from: Gentoo Packages Compiler: gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6) -O3 OS: Linux Here is the contents of the file : %PDF-1.3 %Çì~O¢ 3 0 obj << /Type /Pages /Kids [ ] /Count 0 >> endobj 1 0 obj <</Type /Catalog /Pages 3 0 R >> endobj 2 0 obj <</Producer(ESP Ghostscript 7.07)>>endobj xref 0 4 0000000000 65535 f 0000000068 00000 n 0000000116 00000 n 0000000015 00000 n trailer << /Size 4 /Root 1 0 R /Info 2 0 R >> startxref 166 %%EOF
Created attachment 6402 [details] the pdf fle where kpdf crashes
Shows correct = shows nothing? I don't want to sound harsh, just want to know if my xpdf is not working
CVS commit by aacid: Don't die on empty pdfs like the one on bug 83590 CCMAIL:83590-done@bugs.kde.org M +13 -10 kpdf_part.cpp 1.54 --- kdegraphics/kpdf/kpdf/kpdf_part.cpp #1.53:1.54 @@ -360,4 +360,6 @@ Part::openFile() // emit setStatusBarText( QString::number( m_doc->getNumPages() ) ); + if (m_doc->getNumPages() > 0) + { // TODO use a qvaluelist<int> to pass aspect ratio? pdfpartview->setPages(m_doc->getNumPages(), m_doc->getPageHeight(1)/m_doc->getPageWidth(1)); @@ -369,4 +371,5 @@ Part::openFile() m_nextThumbnail=1; QTimer::singleShot(10, this, SLOT(nextThumbnail())); + } return true;