I'm exporting a name strap as MOGRT. It's just a name on a shape box so nothing so exciting:) It has a single font however the font type is different for the name & surname, so the name is Regular but the surname is Bold.
Is there a way to set it via MOGRT parameters, or is it not possible? Currently, it's keeping the bold & regular setting unless the name is changed. But if I modify a letter the whole line is locked into either bold or regular. (I cannot separate name and surname as the BG box is auto-aligning itself to the name length.)
The simplest way would be to set the given name and the surname on different layers, (which has the downside of requiring that they be entered separately). Alternatively, a script could change the font/font parameters after the first space.
A current limitation when working with Text Layer Style Expressions is ONE text style per text layer. So, as suggested, you will have to split up your Name and Surname into two separate Text Layers. HTH