<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - evince: nulls in PDF text cause Invalid UTF-8 encoded text in name warning"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97144#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - evince: nulls in PDF text cause Invalid UTF-8 encoded text in name warning"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97144">bug 97144</a>
from <span class="vcard"><a class="email" href="mailto:jason@aquaticape.us" title="Jason Crain <jason@aquaticape.us>"> <span class="fn">Jason Crain</span></a>
</span></b>
<pre>(In reply to Albert Astals Cid from <a href="show_bug.cgi?id=97144#c2">comment #2</a>)
<span class="quote">> Should this maybe be done at the glib frontend level?
>
> I've no idea/strong opinion, just random question :D</span >
My reasons for putting it in TextOutputDev.cc are that it was easy, it produced
a small improvement for pdftotext in a few (broken) PDFs I have, and that I
don't think anyone much cares about keeping null chars.
It could go in glib/poppler-page.c but it's a little more work because
poppler_page_get_text, poppler_page_get_text_layout, and
poppler_page_get_text_attributes all need to be kept in sync so they return the
same lengths.</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>