Adjust the heuristics to recognize more cases of unknown glyphs for toUnicode (issue 5070)