Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Enhance the support of SVG images #299
This commit adds two features:
This PR is useful for these two features (mainly the SVG rendered only once for me), but also for the tests: the W3C test suite relies on SVG files with no intrinsic size even for some tests unrelated to this feature, we won't be polluted anymore on these tests by this missing feature.
The related W3C tests pass (except one pathological case) with the latest git master version of CairoSVG. The current PyPI version of CairoSVG (1.0.20) has the needed API but has a poor support of SVG files with no intrinsic size.