Open danfitz36 opened 3 years ago
Hello!
Thank you for this feature request. As many blend modes are supported in PDF (including multiply), we can imagine that this feature could be implemented. Of course, having the feature in PDF doesn’t mean that it’s easy to implement :smile:, but at least it’s a good start!
I'm mostly a designer who codes some. is there anything else I can do to be helpful on something like this?
I'm mostly a designer who codes some. is there anything else I can do to be helpful on something like this?
Thanks a lot for your help!
The first steps are not really fun and require some ability to focus on a specification, but that where I’d start:
Multiply
key in the code and check that it works (no need to get the mix-blend-mode
value from the SVG, that’s just a test),mix-blend-mode
value from the SVG and make it find its way to the place where it has to be inserted in WeasyPrint.TL;DR: find a PDF sample in the spec where the Multiply
(or any other) blend mode is set, try it in WeasyPrint’s code. If it works, make WeasyPrint use the real mix-blend-mode
value instead of forcing Multiply
. The first step could be complicated, but doesn’t require any coding abilities.
it's now supported in chrome, but it's new. any chance it can be supported here?
chrome: pdf: