Lukas Holländer
Lukas Holländer
For an implementation, we need to add a `color` property to the `AttributeState` and read this value in `parseAttributes` if the value of an attribute is `currentColor`.
The specification says, `width` and `height` should affect the pattern: https://www.w3.org/TR/SVG2/pservers.html#PatternElementXAttribute > ‘[x](https://www.w3.org/TR/SVG2/pservers.html#PatternElementXAttribute)’, ‘[y](https://www.w3.org/TR/SVG2/pservers.html#PatternElementYAttribute)’, ‘[width](https://www.w3.org/TR/SVG2/pservers.html#PatternElementWidthAttribute)’ and ‘[height](https://www.w3.org/TR/SVG2/pservers.html#PatternElementHeightAttribute)’ indicate how the pattern tiles are placed and spaced. These attributes represent coordinates...
Since we do not need to implement the whole vector effects API for the "non-scaling-stroke" vector effect, this can be implemented quite easily. We might consider it for the next...
The addImage plugin also basically only supports data urls. I just saw that the original jsPDF made some changes to support other urls via synchronous requests. Synchronous requests are deprecated...
As far as I know, the `rx/ry` attributes are [fully supported](https://github.com/yWorks/svg2pdf.js/blob/master/src/svg2pdf.js#L1313). Are you sure your SVG is correct? Could you give us a snippet of your SVG?
Actually, your SVG is right. [MDN states](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/rx) > If a properly specified value is provided for rx but not for ry (or the opposite), then the browser will consider the...
Yes. This is mainly because jsPDF only supports 'normal', 'bold', etc.. With custom fonts and some tricking, we might be able to support other font styles, though. When adding a...
Ah, accidentally copied the wrong issue number in #140.
AFAIK, PDF has no native feature like SVG filters. A workaround might be to replace all elements with filters in the SVG with ``s of the rendered element.
Did you confirm the SVGs are in fact not there? Are they maybe just occluding each other? Please check if maybe something else is going wrong... maybe not all calls...