-
Expression in source text do not display the correct font.
I have apply a expression to the source text of my text layer.
it grab the comp name and split it in 2 part to be display.my problem the font is not display correctly where the expression is apply.
The problem is for this specific font other look like to work.I was wondering is something can be update in the expression.
or
it just a random problem that have no explanation.my expression:
// “–“= split in section
// [0]= befor “–“
// [1]= after “–“
var line1 = thisComp.name.split(“–“)[1];
var line2 = thisComp.name.split(“–“)[2];
// “\r”= enter
var newText = line1 + “\r” + line2;
//print new text
newText