pdfrx icon indicating copy to clipboard operation
pdfrx copied to clipboard

Highlight Character on Single Key Press

Open dhruvhighspot opened this issue 11 months ago • 1 comments

When searching for the term “abc”, the system correctly interprets each letter as a character. However, when searching for “a”, it is treated as a complete word rather than a single character. This discrepancy results in highlighting the entire word instead of the individual character, preventing precise character-level highlighting.

dhruvhighspot avatar Feb 06 '25 07:02 dhruvhighspot

Because PDF files sometimes do not have character-level coordinates (or sometimes could not calculate them), it results in such behavior.

On the other hand, #235 is a little different issue. For Flutter Web, pdfrx internally uses pdf.js and I still have a task to do.

espresso3389 avatar Feb 06 '25 08:02 espresso3389

Recent versions uses PDFium internally and does not have the issue any longer.

espresso3389 avatar Jul 25 '25 19:07 espresso3389