<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - pdftocairo does not report some errors"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92195">92195</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>pdftocairo does not report some errors
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>a3nm@a3nm.net
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>