linebender / linebender/resvg

xml:lang is not supported

Open
#265 4 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

#### What happened?
|lib|pic|
|-|-|
|svg|![](https://upload.wikimedia.org/wikipedia/commons/0/04/Organon-Modell.svg)
|ink1.1dev|![Organon-Modell](https://user-images.githubusercontent.com/15687581/75820209-398c5180-5d9c-11ea-9b32-491e87a47289.png)
|resvg|![Organon-Modell_resvg](https://user-images.githubusercontent.com/15687581/75820218-3ee99c00-5d9c-11ea-93c8-f2666aedf5b1.png)
|rsvg|![Organon-Modell_rsvg](https://user-images.githubusercontent.com/15687581/75820224-427d2300-5d9c-11ea-8615-01592e962028.png)

Inkscape 1.1dev supports it inkscape 0.92 not
![Screenshot from 2020-03-03 22-13-58](https://user-images.githubusercontent.com/15687581/75820252-4d37b800-5d9c-11ea-973c-a424f40b746a.png)

#### What should have happened?
- should render german or englisch not both

#### Copyright

source https://commons.wikimedia.org/wiki/File:Organon-Modell.svg

author
SVG: User:Quiethoo PNG: User:Hermy, User:Rorkhete
Original: Karl Bühler (†1963)

license https://creativecommons.org/licenses/by-sa/4.0/deed.de

#### Version and Operating System:

- Inkscape Version: 0.92.4 or 1.1dev
- resvg version: 0.9.0
- rsvg Version: 2.40.21
- Operating System: Ubuntu 18.04

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 with the Organon-Modell.svg example linked in the issue and compare resvg's output with Inkscape and rsvg when xml:lang is present. Trace how resvg handles language-specific SVG text, then verify that rendering selects German or English rather than displaying both.

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
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.