Comments (2)
(by pch-myzel)
from scour.
(by louis-simard-deactivatedaccount)
The SVG specification says that x= and y= (and dx= and dy=) for may be lists of numbers instead of just numbers. The scourLength function doesn't appropriately react to having more than one number delimited by anything in its input string.
There are also some more length attributes in <text>
that your patch doesn't cover, like dx=, dy= and textLength=, as well as more elements using the same attributes as <text>
, such as <tspan>
and <altGlyph>
.
from scour.
Related Issues (20)
- [feature request] simplify nested uses
- [feature request] delete empty tspan
- RFE: drop using `six` module HOT 1
- Breaks file by removing clip even when child is referenced by a clone (`<use>`)
- Indention/Line Break optimization not working
- Group collapsing doesn't work for empty groups with a tranform attribute
- Sorry, wrong issue tracker - can be deleted HOT 1
- Unknown attribute cleaning. HOT 3
- Optimization: De-duplicate features with the <use> element
- Referenced element deleted HOT 4
- GitLab? HOT 1
- Convert SVG to use inline styles HOT 1
- DEPRECATION: scour is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 HOT 2
- RecursionError: maximum recursion depth exceeded
- Save As Optimised SVG Removes Text HOT 3
- .\scour\scour.py fix missing whitespace, line 3632 flake8
- Pull request for sphinx-docu #316
- centOS: command not found HOT 1
- Scour used procedurally does not run HOT 1
- Scour project maintenance 🛠️ HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scour.