Skip to main content
Known Participant
July 29, 2019
Answered

Why does font case change when exported as .mogrt?

  • July 29, 2019
  • 1 reply
  • 4505 views

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

    This topic has been closed for replies.
    Correct answer Roland Kahlenberg

    Here's what I'm trying to do. I want the Name, the Title, and the length of the red Title box all to be editable in Premiere.

    I'm working with a videographer who does his editing in Premiere. In the past he would create static lower third graphics in Photoshop, import it into Premiere, and then just fade them in and out as needed, and each time he had a name/title change he had to go back into Photoshop. My plan was to provide him a single .mogrt file that he could import in then change the name/title all within Premiere. However, if the first name is in regular on one layer and the last name is in bold on another layer, what happens when you have different length first and last names? I need the last name to adjust with the first name. Putting them on separate lines won't work, as far as I can see.


    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

    offsetXpos = 50;

    // declare sourceRect

    tRect = t.sourceRectAtTime();

    // get location of right edge of target layer

    tBR = t.toComp([tRect.left+tRect.width,tRect.top+tRect.height]);

    // apply offset to xPosition of target layer and set yPosition to equal that of the target layer

    [tBR[0] + offsetXpos,t.position[1]]

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

    1 reply

    Mylenium
    Legend
    July 29, 2019

    Without any info on what fonts you used nobody can really tell you much. Of course faux caps and other stuff may get lost if it's not part of a genuine font but rather enforced font decorations. Conversely, certain intermediate weight fonts may simply not show up because automatic font grouping may not work. Impossible to say. You really have to provide much more info.

    Mylenium

    MrM2Author
    Known Participant
    July 29, 2019

    Thanks for your reply.

    I probably didn't explain the problem very well.

    Let's say you have a text layer that says John Smith and you want "John" to be in Helvetica Regular and "Smith" to be in Helvetica Bold. You export as a .mogrt file so that the name can be changed when you import it into the Essential Graphics panel in Premiere. However, when you place the .mogrt file into your timeline in Premiere the entire name "John Smith" is now in Helvetica Regular, it didn't keep the last name in bold. In the Premiere's Essential Graphics panel I tried selecting just the last name and changing it back to Bold, but it changes the entire name to Bold. Does this make more sense?

    Thanks

    Community Expert
    July 30, 2019

    I was afraid of that, and unfortunately it won't work for what I'm doing. Thanks for your reply.


    You should be able to use the sourceRecAtTime method to adjust the spacing between words. You would just have to enter each word separately. I don't have time to do it for you but it should not be very complicated.