[poppler] [patch] Unit test for searching (bug 7063)

Brad Hards bradh at frogmouth.net
Sat Nov 3 23:51:05 PDT 2007


I've been looking at bug 7063 [1], and I don't think it is really a problem 
with poppler (at least, not the poppler core).

The attached example (which is intended to go into the test module, in the 
unittestcases directory) contains some test text. The patch (for the poppler 
module) adds a unit test to the Qt4 test suite that shows we can search for 
non-ascii text quite well. It just needs to be encoded correctly (as the Qt4 
front end does).

1. Can someone please commit this for me?
2. Bug 7063 was copied over from Gnome bugzilla. Is this really a poppler bug 
(in which case it probably belongs in the glib frontend), or should evince do 
the right encoding itself?

Brad

[1] https://bugs.freedesktop.org/show_bug.cgi?id=7063
-------------- next part --------------
A non-text attachment was scrubbed...
Name: search-2007-11-04.patch
Type: text/x-diff
Size: 2584 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20071104/1e8e2f81/attachment-0001.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug7063.pdf
Type: application/pdf
Size: 13389 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20071104/1e8e2f81/attachment-0001.pdf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20071104/1e8e2f81/attachment-0001.pgp 


More information about the poppler mailing list