Open VitalySlidely opened 1 year ago
I've found that the font can be changed only if it exists in the animationData.fonts.list
.
@bodymovin, is there any chance to add the font to that list dynamically? Maybe using the fontManager
somehow?
anim.renderer.globalData.fontManager.addFonts
?
did you fin it?
thank you!
@kundokun nope, unfortunately
Hi guys! Does anybody know, how to replace the font for the text layer using
updateDocumentData
? Or maybe Lottie API should be used instead? I've tried to update the font like this:The text gets changed but the font doesn't.