search for words with ZWS is broken
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 56.1k
- Forks
- 1.7k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 22
Description
Description
The search for words which contain Zero Width Space (U+200B) symbols is broken in all viewers for PDF files compiled with main except with the PDFium (Chrome). In PDF files compiled with 0.13.1 the search works in all viewers. This issue was introduced with the switch to krilla in 96dd67e011bb317cf78683bcf1edfdfca5e7b6b3.
Test string: Te#sym.zws;st
Search for "Test" or "es".
Tested readers:
- PDFium (Chrome) WORKS
- PDF.js (Firefox)
- Okular
- Sumatra PDF
- Adobe Acrobat Reader
- Foxit
Reproduction URL
No response
Operating system
Linux
Typst version
- I am using the latest version of Typst
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 with Te#sym.zws;st in a PDF built with the latest Typst and compare it with a PDF built using 0.13.1. Review the switch to krilla in commit 96dd67e011bb317cf78683bcf1edfdfca5e7b6b3, then test searching for “Test” and “es” in the listed viewers. Done means zero-width-space searches work consistently outside PDFium.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers, computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100