Click on PDF to jump to text does not work properly in combination with text show rules
Open
Nobody has claimed this yet.
bug
ide
- Dominant language
- Rust
- Stars
- 56.1k
- Forks
- 1.7k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 22
Description
Description
Having
#show "TEST": text.with(hyphenate: false).
The jumping to the text does not jump to the right position. It appears as after TEST the position starts egain from the beginning of the line. What I mean by that is that when I click on 5 it works, but clicking one 7 jumps to 2.
1 2 3 4 5 TEST 6 7 8 9
Reproduction URL
No response
Browsers
Chrome
OS
macOS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in Chrome on macOS with the shown #show rule and the text sequence, then inspect how the generated PDF maps text positions around the show rule. Done means clicking each number jumps to its corresponding position rather than restarting the line after TEST.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100