Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FeatureVariation replacement missing in svg animation exports #82

Open
MariannaPaszkowska opened this issue Sep 5, 2022 · 1 comment

Comments

@MariannaPaszkowska
Copy link

Hi! I noticed that a feature variation replacement are not present in svg animation while they well work in the font (and they show well in Samsa). Perhaps something is going wrong during the export.

@Lorp
Copy link
Owner

Lorp commented Sep 5, 2022

Thanks for this. Indeed SVG animation only works on the current glyph and excludes other glyphs invoked by FeatureVariations. The SVG animation model makes it difficult to switch to a new, incompatible shape. It could probably work by embedding some JavaScript in the SVG, that checks animation progress to show/hide different SVG elements.

Note that such SVG+JS files, like animated SVG in general, don’t import well into Illustrator or Affinity, but they would likely work fine embedded in web pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants