Fallback to a random font when no specified families are found
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.1k
- Forks
- 348
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 3
Description
Feel free to close this one if duplicate. On [current master](https://github.com/RazrFalcon/resvg/commit/2c5d90990411535c1afddb62b8be85076db05277), I can't get text to display at all, but works fine in a browser.
I'm running:
```
cargo run --example minimal input.svg output.png
```
Attached both input & output of what I'm seeing.


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
Reproduce the report with `cargo run --example minimal input.svg output.png`, comparing the attached input and output. Trace the font-family fallback behavior involved in rendering the SVG text; done means text renders when the specified families cannot be found, using a fallback font instead of disappearing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100