alexk111 / SVG-Morpheus

JavaScript library enabling SVG icons to morph from one to the other. It implements Material Design's Delightful Details transitions. (THIS PROJECT IS NOT MAINTAINED ANYMORE)
MIT License
2.7k stars 241 forks source link

support svg fonts #4

Closed japrescott closed 8 years ago

japrescott commented 9 years ago

I really like SVG-morpheus and wanted to use it. Sadly, the way our icons are used is as a font and thus, no svg elements exist for svg-morpheus to manipulate. Do you have plans to support svg fonts or do you have recommendations/hints/tipps how to convert them so they can be used by svg-morpheus?

alexk111 commented 9 years ago

@japrescott Thank you for the question. Sorry, but it will not work with icons placed as text elements via svg fonts. It does need SVG DOM object in order to be able to animate shapes. SVG DOM is only available for SVGs placed by and