linebender / linebender/resvg

Improve fontconfig integration

Open
#761 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
4.1k
Forks
348
Avg merge
1d 14h
Merged PRs (30d)
3

Description

The following `SVG` files render wrong with `resvg`.

![paragraph_before](https://github.com/RazrFalcon/resvg/assets/11455533/7e70eefb-c08b-4ba3-a7ff-8154907af284)
![paragraph_after](https://github.com/RazrFalcon/resvg/assets/11455533/f7b06085-5f43-4640-908f-2e2f41530c33)

```svg

```

```svg

```

With `resvg` they render like:

![Screenshot_20240516_143008](https://github.com/RazrFalcon/resvg/assets/11455533/1cfe2b10-ff03-46be-b4d9-6c60f1b137c5)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported rendering differences with the provided SVG files in resvg, then inspect the fontconfig integration involved in font rendering. Done means the affected SVG files render correctly and match the expected paragraph layout.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.