Skip to main content
nicholash68515175
Known Participant
Jul 11, 2023 10:23 PM UTC
Question

Extendscript Text Casing/Font Problem

Hi,

 

We use extendscript to composite thumbnails, and we're finding that there are odd failures where the text randomly has odd casing.

 

We can confirm that the whole Text Area actually has the correct Font and Text Parameters set on it, but for some reason that this could be happening? We're overwriting the text that exists previously, but it's very odd. 

 

If we re-run it again, it won't happen again.

 

 

This topic is closed to new replies. Start a new post to keep the conversation going.

15 replies

nishu_kush
Legend
Apr 19, 2024 10:58 PM UTC

Can you install the latest version of After Effects and see if the issue persists?

Let us know. I am moving this thread from Bugs to Discussions for now.

 

Thanks,

Nishu

Translate
nicholash68515175
Known Participant
Jun 19, 2024 11:25 PM UTC

Will do! And by this you mean the latest AE stable version? 

 

Translate
nicholash68515175
Known Participant
Jan 8, 2024 5:16 PM UTC

Hi @Douglas_Waterfall,

Following up and checking in on this. We've installed AE Beta 24.2, I expect the changes w would be on there as well and wouldn't have been removed.

Reason we're asking is because we installed AE Beta 24.2 (and are using the aerender.exe) and we're seeing lots of font-locking issues at scale.

Some questions: 

* Would rebuilding the base .aep file from scratch help? We're just replacing the text in an existing box, so maybe there's an issue in there?
* Would setting the base font to something else help?

We're kinda getting stuck for options 🙂 QA'ing these manually is causing us some issues.

Happy New Year!

Translate
Adobe Employee
Nov 11, 2023 9:30 AM UTC

Release 24.1 will appear in the Creative Cloud app sometime...soon, you will just have to keep your eye out for it.

 

We have internally seen cases of this FontLocking failure still occuring, but at a dramatically lower rate, so there is more for us to investigate here. If you see issues please let us know here.

 

Douglas Waterfall

After Effects Engineering

Translate
nicholash68515175
Known Participant
Nov 10, 2023 9:26 PM UTC

Hey @Douglas_Waterfall how do the AE builds/releases work?

How will we know when it's released in in a main build w/ aerender?

Translate
nicholash68515175
Known Participant
Sep 20, 2023 1:09 AM UTC

W000t!

This is amazing news @Douglas_Waterfall !

Thank you so much! We're going to be implementing this update right away!

We also have another question - maybe it might be up your alley? Getting Post Script Font Names for all System Fonts 

Translate
Adobe Employee
Sep 14, 2023 6:25 AM UTC

We have finally integrated a fix to this FontLocking bug in the latest 24.1 beta build. I forget the specific number, but whatever beta build available from the CC app has the change.

 

As I may have mentioned, it was super annoying to me as well during my work and I am happy to report it stopped doing it. Yay!

 

If you are able to use a beta build in your workflow, I would appreciate knowing if your difficulties with this have also gone away.

 

Douglas Waterfall

After Effects Engineering

Translate
Adobe Employee
Jul 12, 2023 12:59 AM UTC

I assume so, but as I work almost entirely on Mac I have not organically come across it during my rare moments on Windows.

 

Douglas Waterfall

After Effects Engineering

Translate
nicholash68515175
Known Participant
Jul 12, 2023 12:54 AM UTC

Hey Doug this is active on Windows & Mac equally?

Translate
Adobe Employee
Jul 11, 2023 11:59 PM UTC

Sorry for the confusion, I am a little looser in my terms when dealing with scripters because, well, we both code, eh?

 

First, there is no way around this - setValue(TextDocument) does what it does - you are stuck with this frustrating behavior.

 

Second, "paste" here is just the same thing which happens when you paste from the clipboard with raw text.  Scripting is simply making use of the same code and inherits the same policy of FontLocking from there.

 

It also is the same for just typing - if you select a Font and type a character which is not supported by it you will get FontLocking behavior. Since the behavior is flaky, it would be rather rare getting it during typing, but creating a lot of TextLayers with scripting makes it much more likely to be noticed.

 

Douglas Waterfall

After Effects Engineering

Translate
nicholash68515175
Known Participant
Jul 11, 2023 11:56 PM UTC

And this is both present on Mac as well as Windows? (Currently using Windows)

Translate