X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/72c3b81efb1079f8db070ac89e97e9b7bcedd61b..626f99a27f803ffd3439eb7191ebb9b5e8d3976a:/doc/bugs/img_test_failure_on_nix.mdwn diff --git a/doc/bugs/img_test_failure_on_nix.mdwn b/doc/bugs/img_test_failure_on_nix.mdwn index 5e439f7a9..911cc66a1 100644 --- a/doc/bugs/img_test_failure_on_nix.mdwn +++ b/doc/bugs/img_test_failure_on_nix.mdwn @@ -15,3 +15,19 @@ Peter Simons wrote: Failed 2/19 subtests > Do you have any idea how to fix this issue? + +>> As far as I can tell, this indicates that your ImageMagick doesn't +>> support PDF (in Debian and its derivatives this requires `libmagickcore-extra`). +>> Please run tests on a system with a fully-featured ImageMagick (in Debian we put +>> `libmagickcore-extra` in the `Build-Depends-Indep` for this), or if you are testing +>> at install time on arbitrary end-user systems, please tell me what this says on a +>> system where the test fails: +>> +>> perl -MData::Dumper -MImage::Magick -e 'print Dumper([(new Image::Magick)->QueryFormat("pdf")])' +>> +>> If the result is `$VAR1 = [ undef ]`, then we can easily make the test skip that bit if PDFs don't work. +>> --[[smcv]] + +>>> That configuration test doesn't actually work because of the way +>>> ImageMagick processes PDFs via ghostscript, but loading a sample +>>> PDF and probing its width does seem to work. [[done]] --[[smcv]]