<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 - raw_order_layout completely broken"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94518">94518</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>raw_order_layout completely broken
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>cpp frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jeroen.ooms@stat.ucla.edu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>See also: <a href="https://lists.freedesktop.org/archives/poppler/2016-March/011727.html">https://lists.freedesktop.org/archives/poppler/2016-March/011727.html</a>

Extracting text with raw_order_layout gives malformed and random output (no
text at all for most pages):

  ustring str = p->text(p->page_rect(), page::raw_order_layout);

An example:

 - source: <a href="http://arxiv.org/pdf/1403.2805.pdf">http://arxiv.org/pdf/1403.2805.pdf</a>
 - pdftotext default output: <a href="http://pastebin.com/raw/A93xPT4j">http://pastebin.com/raw/A93xPT4j</a>
 - cpp with page::physical_layout: <a href="http://pastebin.com/raw/MZFpTRbD">http://pastebin.com/raw/MZFpTRbD</a>
 - cpp with page::raw_order_layout <a href="http://pastebin.com/raw/n8dcsqkZ">http://pastebin.com/raw/n8dcsqkZ</a>

Output misses most text, has no spaces, etc. Also each time I run it, I get
different results so it looks like there is a memory bug.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>