Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Why does font case change when exported as .mogrt?

Community Beginner ,
Jul 29, 2019 Jul 29, 2019

Hi,

I'm new to AE and ran into a problem I'm not sure has a fix.

I created a lower third graphic that has a line for the person's name and a 2nd line for their title. We wanted the first name to be regular case and the last name to be in bold. When I export as a .mogrt file then import into Premiere the name defaults to regular case, and it doesn't look like that can be changed in Premiere. Is there a way to do this, or does a text layer have to be all in the same font style?

Thanks

4.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Valorous Hero , Jul 30, 2019 Jul 30, 2019

Looks like you'll require three text layers - one for FIRST, another for LAST and another for TITLE. And Rick's right in that you'll need to offset LAST from the right edge of FIRST and you'll want to use sourceRectAtTime.

The solution is to offset the LAST layer from the right edge of the FIRST layer.

Paste this Expression into the Transform>Position of the LAST layer -

-------------------------------

// declare target layer

t = thisComp.layer("First Name");

// declare the offset value in pixels

offse

...
Translate
Community Beginner ,
Aug 02, 2019 Aug 02, 2019

IT'S WORKING!

Oh Man, that is awesome!

Thanks so much for sticking with this.

(sorry for the delays, working on about 1/2 dozen other jobs right now.)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 02, 2019 Aug 02, 2019

Rats! Almost had it.

It works, but if you type a longer name it ends way to the right of the vertical red bar. The longer then name, the farther away it moves.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Aug 02, 2019 Aug 02, 2019

The Slider Control, Adjust 2nd KF, was to allow you to fix this issue as well as to eyeball how much space you want; between the first character of the First Name Layer and the Vertical Bar.

I've sorted out the script for the First Layer so that the first character of the First Name Layer is affixed right next to the Vertical Bar. You can then use the Adjust 2nd KF slider to manually adjust its distance to the Vertical Bar.

--------------------------------------------------------

Expression for First Name's position prop

--------------------------------------------------------

FIRSTlayer = thisLayer;

LASTlayer = thisComp.layer("Last Name");

fRect = FIRSTlayer.sourceRectAtTime();

lRect = LASTlayer.sourceRectAtTime();

startPos = thisComp.layer("VerticalBar").transform.position[0];

KF01 = [startPos - (fRect.width + lRect.width) + effect("Adjust 1st KF")(1), value[1]]

KF02 = [startPos + effect("Adjust 2nd KF")(1), value[1]]

Scalar=thisComp.layer("Scalar").transform.scale[0];

linear(Scalar,0,100,KF01,KF02)

Very Advanced After Effects Training | Adaptive & Responsive Toolkits | Intelligent Design Assets (IDAs) | MoGraph Design System DEV
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 13, 2019 Aug 13, 2019

Hey Roland,

I was on vacation last week and didn't get back to this until yesterday. I plugged in your new code and everything worked GREAT!

I REALLY appreciate you taking the extra time on this, I never would have figured it out.

Thanks again!

PS - Any suggestions on where a beginner should start to try and get a better grasp on expressions?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Aug 13, 2019 Aug 13, 2019

Aha! And not even a single photo of your vacation spot. TSK TSK TSK

😉

Thanks for reporting back.

Animoplex is good.

Animoplex - YouTube

Dan Ebberts' www.motionscript is great.

Forums are great too if you manage to google sufficiently well. Good luck and have fun.

Very Advanced After Effects Training | Adaptive & Responsive Toolkits | Intelligent Design Assets (IDAs) | MoGraph Design System DEV
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 14, 2019 Aug 14, 2019

Ha! Unfortunately it wasn't that type of vacation (stayed home to work on projects I've been putting off.)

Thanks for the references, I'll check them out.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 01, 2021 Jun 01, 2021

This is a great post. Thank you very much! It helped me as well!

It has been a long time but if you're still around: what parameters I should change if the alignment is on the right?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Jun 08, 2021 Jun 08, 2021
LATEST

It depends on where the layer's Anchor Point is located. If it's to the left edge then all you need to do is to deduct/minus off the "Rect" value instead of adding it. Give it a try and let us know if it's working for you. If your attempts are not providing expected results, then share screen shots of your Comp Panel and the Timeline AND the Expression that you are currently using.

Very Advanced After Effects Training | Adaptive & Responsive Toolkits | Intelligent Design Assets (IDAs) | MoGraph Design System DEV
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines