Skip to main content
nicholash68515175
Known Participant
July 11, 2023
Question

Extendscript Text Casing/Font Problem

  • July 11, 2023
  • 14 replies
  • 1038 views

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 has been closed for replies.

14 replies

nishu_kush
Legend
April 19, 2024

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

nicholash68515175
Known Participant
June 19, 2024

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

 

nicholash68515175
Known Participant
January 8, 2024

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!

Adobe Employee
November 11, 2023

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

nicholash68515175
Known Participant
November 10, 2023

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?

nicholash68515175
Known Participant
September 20, 2023

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 

Adobe Employee
September 14, 2023

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

Adobe Employee
July 12, 2023

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

nicholash68515175
Known Participant
July 12, 2023

Hey Doug this is active on Windows & Mac equally?

Adobe Employee
July 11, 2023

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

nicholash68515175
Known Participant
July 11, 2023

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