https://pdf.yt/d/BeioWriXAn-DkFcO

When searching the above pdf for the phrase 'acute' the second hit hightlights the nearby word ' especi'.  Almost certainly this is the same issue that I raised in #5667 

However, when examining the generated html you can see that the highlighted text is incorrect - it contains the text ' especi' and not the search term 'acute' - it is not a positioning issue.  (see screenshot).

I am using Chrome 39, windows 8.1 x64 and pdf.js 1.0.1093

![image](https://cloud.githubusercontent.com/assets/10129039/5864096/f2d665a4-a276-11e4-91fa-af6eb36f0cde.png)

if (startIdx > 0) {
      const first = content.charCodeAt(startIdx);
      const limit = content.charCodeAt(startIdx - 1);
      if (getCharacterType(first) === getCharacterType(limit)) {
        return false;
      }
    }
    const endIdx = startIdx + length - 1;
    if (endIdx < content.length - 1) {
      const last = content.charCodeAt(endIdx);
      const limit = content.charCodeAt(endIdx + 1);
      if (getCharacterType(last) === getCharacterType(limit)) {
        return false;
      }
    }
    return true;
  }
  _calculatePhraseMatch(query, pageIndex, pageContent, entireWord) {