Letters overlap each other on specific font and combination of letters
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.1k
- Forks
- 348
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 3
Description
Hey @RazrFalcon, I hope you're doing OK.
There is a weird issue with text resolving that was caught for one particular font and a combination of letters. Not sure exactly on which level that happens - either `usvg-text-layout` or `rustybuzz`. Maybe you have an idea?
SVG:
```
```
Font Fjalla One (https://fonts.google.com/specimen/Fjalla+One?noto.query=Roboto&preview.text=fit&preview.text_type=custom&query=fjalla)
Result of running `minimal.rs` example with added `fontdb.load_font_file("./examples/Fjalla One-regular.ttf").unwrap();`
Expected (rsvg-convert):

Actual (ReSVG):

Contributor guide
No contributing guide indexed for this repository
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
Start with the minimal.rs example and the provided Fjalla One-regular.ttf font, reproducing the `fit` rendering from the issue. Trace text shaping through `usvg-text-layout` and `rustybuzz` to identify where the letter overlap is introduced. Done means the rendered SVG matches the expected reference for this font and letter combination.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100