-
Couldn't load subscription status.
- Fork 4.9k
Open
Labels
Description
Hi @niklasvh, thanks again for all the great work on html2canvas. I know I was keen for you to reintroduce foreignObject rendering, and it's looking good for the most part, but I'm having some issues with it:
- ligature fonts (?) - one of my testing pages uses Google Material Icons, a font which turns short phrases into icons, and it's not working... not sure why. Just displays as the original text.
- opacity - this was maybe exploiting a bug, but for html2pdf I was creating a div with 0 opacity and then capturing that. html2canvas captured it properly without it displaying on-screen. That doesn't work with the foreignObject renderer unfortunately.
- speed - surprisingly, it's a lot slower (on my machine at least) than the other approach!
So, I'll keep trying to track down those issues!
mapleeit