Uncaught TypeError: Cannot assign to read only property 'className' of object '#<SVGTextElement>'
See original GitHub issueTell us about your environment OS X 10.14.2 (18C54) (Mojave)
-
Browser and Browser Version: Chrome Version 71.0.3578.98
-
After Effects Version: 16.0.1 (Build 48)
What did you do? Please explain the steps you took before you encountered the problem. Exported animation without glyphs.
What did you expect to happen? Chrome to render text using external font.
What actually happened? Please include as much relevant detail as possible. Nothing displayed in Chrome, console gives the following error:
Uncaught TypeError: Cannot assign to read only property 'className' of object '#<SVGTextElement>'
at e.addFonts (lottie.js:1)
at SVGRenderer.BaseRenderer.setupGlobalData (lottie.js:1)
at SVGRenderer.configAnimation (lottie.js:1)
at AnimationItem.configAnimation (lottie.js:1)
at XMLHttpRequest.s.onreadystatechange (lottie.js:1)
Please provide a download link to the After Effects file that demonstrates the problem. test.aep.zip
I’m trying to export without glyphs, using an external font but keep getting the error above in Chrome dev console. These are my font export settings:

Am I doing something wrong? Is this something I can fix in my js?
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Comments:6

Top Related StackOverflow Question
Not sure why in your context there is an svg attribute
classnamethat is readonly. I’ve changed it to usesetAttributeinstead. It’ll be available for the next deploy.Hi peoples, I’m having the same issue here. Any estimation for the next deploy?