| Summary: | Can't open some pdfs, xpdf and acroread can, testcase link provided | ||
|---|---|---|---|
| Product: | [Unmaintained] kpdf | Reporter: | gmud <geroxp> |
| Component: | general | Assignee: | Albert Astals Cid <aacid> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 0.5.5 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
gmud
2007-01-23 09:56:25 UTC
SVN commit 626574 by aacid: The mimetype system is returning that the file at http://www.phydid.de/showpdf.php?artikel_id=91 is an octet-stream for some strange reason. As kpdf is a pdf viewer assume octet-stream are pdf. This is a quick fix for KDE 3.5.7 but for KDE 4 and okular this fix is not admisible. :-/ BUGS: 140482 M +1 -1 document.cpp --- branches/KDE/3.5/kdegraphics/kpdf/core/document.cpp #626573:626574 @@ -151,7 +151,7 @@ d->xmlFileName = locateLocal( "data", fn ); // create the generator based on the file's mimetype - if ( (*mime).is( "application/pdf" ) ) + if ( (*mime).is( "application/pdf" ) || (*mime).is( "application/octet-stream" ) ) generator = new PDFGenerator( this ); // else if ( mimeName == "application/postscript" ) // kdError() << "PS generator not available" << endl; |