Created attachment 58180
fix selection of glyphs in actualtext
The updated version of "fix selection of glyphs in actualtext".
The patch order is:
1 - convert utf-16 to ucs-4 when reading ToUnicode
2 - move text string to unicode conversion into a separate function
3 - Enable displayed chars to map to any number of text chars
4 - fix selection of glyphs in actualtext
Patch 3 needs to be updated to remove the surrogate handling and fix the regression.
Created attachment 58180
fix selection of glyphs in actualtext
The updated version of "fix selection of glyphs in actualtext".
The patch order is:
1 - convert utf-16 to ucs-4 when reading ToUnicode
2 - move text string to unicode conversion into a separate function
3 - Enable displayed chars to map to any number of text chars
4 - fix selection of glyphs in actualtext
Patch 3 needs to be updated to remove the surrogate handling and fix the regression.