New Scripting Hooks for Variable Fonts
Copy link to clipboard
Copied
Hi everyone,
We're happy to announce that starting in Beta build 24.0x25, we have added 7 new scripting hooks related to variable fonts.
You can see the full list here and their respective documentation:
- https://ae-scripting.docsforadobe.dev/introduction/changelog.html.
- Please remember that these scripting hooks are currently in Beta and are subject to change.
We've also created a demo script panel that exercises these new hooks to inspect installed variable font axes and apply animation controls to create dynamic variable font animations:
The script is also attached to this post, but you must rename the file's extension from .jsx.txt to .jsx to run it inside AE.
We're excited to see what you'll be able to do with these new variable fonts hooks and to hear any feedback you may have!
Copy link to clipboard
Copied
@scrozier Thank you for reporting this.
As it happens I hit the same problem here a bit before you and have been looking into it.
Given my current understanding of the vulnerability, it is not a new problem and perhaps the intense variable font text animation via Expressions just increases the odds of it happening.
Any workaround you might come up with is likely to just be luck imho.
It is not looking like it has a trivial solution. When we know more we feel we can pass on, we will.
Douglas Waterfall
After Effects Engineering
Copy link to clipboard
Copied
@Douglas_Waterfall Yeah it plays back with no issues in Ram Preview but once I go to the render queue that is when things to awry. Using "current settings" I think makes AE us the ram buffer to export instead of whatever bug it's hitting in the Render Queue. That has been my expereince so far. Once I try to render the comp with "best settings" variable fonts don't work again until I repopen the project.
Copy link to clipboard
Copied
You may be right about luck because sometimes it renders without issue but once the bug arises you have to revert the project file because it becomes a bit unstable. I tried a test with MFR on/off with
"best settings" on a hunch and both times it rendered fine.
Copy link to clipboard
Copied
MT rendering off may improve the odds, but that is only guess. The odds are still not good.
Douglas Waterfall
After Effects Engineering
Copy link to clipboard
Copied
@Douglas_Waterfall Another thing that doesn't seem to work is per character kerning or baseline offset when variable fonts are enabled via the supplied script
Copy link to clipboard
Copied
I rebuilt the layer / keyframes and it works fine now. Something about the underlying data seemed to make the Render Queue mad.


-
- 1
- 2