<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 - Not able to find (only) ordinals (ª,º,...)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85702">85702</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Not able to find (only) ordinals (ª,º,...)
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </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>general
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>frederic.moenne-loccoz@sfr.fr
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=108731" name="attach_108731" title="patch to poppler library">attachment 108731</a> <a href="attachment.cgi?id=108731&action=edit" title="patch to poppler library">[details]</a></span>
patch to poppler library

Hello,
I want to open this bug from gnome Evince users who asked the following thing:
distinguish ordinal characters during text search. Here are the characters:

0x207F=ⁿ,0x00AA=ª,0xBA=º,0xB9=¹,0xB2=²
,0xB3=³,0x2074=⁴,0x2075=⁵,0x2076=⁶,0x2077=⁷,0x2078=⁸,0x2079=⁹,..

Besides, these ones are considered like their standard numeric figure, for
example º=0, ª =a, 
that work up false search result with too many characters.
This bug has been opened in gnome bugzilla (see bug #429985), this issue has
been veted and the conclusion of our search is the following:
These characters are replaced because of normalization compatibility
decomposition applying on characters strings in poppler library.
Here is the solution that i propose: exclude ordinal characters from NFKC
normalization as indicated in my patch.
Perhaps it could be better to create a fonction to exclude a character from
normalization process getting its unicode code point as a parameter. That would
allow easy configuration for poppler library users.
I hope it helps. Thanks for your excellent work,

Frederic
Gnome Software Contributor</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>