[cairo-bugs] [Bug 92195] New: pdftocairo does not report some errors

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 30 07:19:34 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92195

            Bug ID: 92195
           Summary: pdftocairo does not report some errors
           Product: cairo
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: a3nm at a3nm.net
        QA Contact: cairo-bugs at cairographics.org

The pdftocairo command line tool does not report certain errors. The cases
which I have observed are:

- when specifying the -scale-to option for conversions to types that do not
accept it (e.g., for SVG), the option and its value are ignored with no error
message

- when only one of -paperw and -paperh are specified, both are silently ignored

- when giving to -paperw or -paperh a non-integer value (e.g., "42.3"), or
indeed any other erroneous value that cannot be parsed as an integer, the
conversion is aborted and no error message is displayed (only the exit code
reflects that something went wrong); by contrast negative integers do not make
the conversion fail but mean that -paperw and -paperh are silently ignored.

I think pdftocairo should display an error when the conversion was not actually
performed, and display warnings (or display an error and fail) when some
parameters were ignored.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20150930/072a66b7/attachment.html>


More information about the cairo-bugs mailing list