vue-easeljs icon indicating copy to clipboard operation
vue-easeljs copied to clipboard

`preload-fonts` prop to ensure fonts are loaded up

Open dankuck opened this issue 5 years ago • 0 comments

Font resources are not downloaded until they are needed in Chromium browsers. So there is a moment when text has the wrong font while the browser loads it.

Provide a prop on < easel-canvas> for an array of fonts to preload by drawing text with them to a dummy canvas and then maybe unloading it after a timeout.

dankuck avatar Sep 18 '19 14:09 dankuck