1904labs / dom-to-image-more

Generates an image from a DOM node using HTML5 canvas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not detecting unicode-range, loads all the font-faces

zoltanseer opened this issue · comments

When font-loading is made, does not care about unicode-range defined in the font-face and loads all available fonts.

Expected behavior

Should load only those which are loaded by the browser automatically

commented

I suspect some elements might appear after a 2s delay in an animation, triggering a font load. Might be too many possible issues to solve this one :|

At some point I will need to work on this, so I might open a PR if there is a solution. Thanks