TIneke Van Schalkwyk
Forum Replies Created
-
TIneke Van Schalkwyk
February 10, 2023 at 8:58 pm in reply to: Change font size or scale of lines based on number of characters in each lineThank you Flip!
Those extra notes were what I was missing.
Works perfectly!“Don’t forget to set the text’s Anchor Point grouping to Line also (Text -> More options) otherwise only the individual characters will become smaller in place.
Depending on your paragraph alignment, you might also need to adjust the Grouping Alignment ([0,0] for centered text, [-100,0] for left aligned, [100,0] for right aligned)”
-
TIneke Van Schalkwyk
February 6, 2023 at 12:44 am in reply to: change font color of individual words based on special character – captionsOk, I’ve saved the ae file if you are able to take a look by any chance?
I use pt_subtitles plugin to import the captions from an srt file which creates the text layer.https://www.dropbox.com/s/gptxbz47jt5wu7t/expressionerror.aep?dl=0
-
TIneke Van Schalkwyk
February 5, 2023 at 10:57 pm in reply to: change font color of individual words based on special character – captions -
TIneke Van Schalkwyk
February 3, 2023 at 3:33 am in reply to: Change font color of text that is between brackets (Inline color) -
Thanks Fliip, this seems to do the trick!
I’ve also been setting the style of the font using this expression:
style.setFont(comp(“00 Color Control”).layer(“Headline Text Font Style”).text.sourceText);Just wondering how I can include this in the code provided?
-
TIneke Van Schalkwyk
August 15, 2020 at 8:44 am in reply to: Adding line breaks to a block of text based on character lengthSo, I removed the line at the end to do with the font style as that what was causing the error to see if I could get the rest of the expression functioning correctly as a starting point.
However, it removes the last word which is a bit of an issue ☺This was the line I removed incase you need to know but I don’t think that is what is causing the last word to be removed:
style.setFont(ctrlStyle.font).setText(val).setFontSize(ctrlStyle.fontSize);Any ideas?
-
TIneke Van Schalkwyk
August 11, 2020 at 10:55 am in reply to: Adding line breaks to a block of text based on character lengthThanks Andrei!
Should it work if I copy and paste exactly what you have posted?
I get an “Error: Layer index 0 out of range” -
TIneke Van Schalkwyk
August 4, 2020 at 12:04 pm in reply to: Adding line breaks to a block of text based on character lengthNo that doesn’t matter to me.
-
TIneke Van Schalkwyk
August 2, 2020 at 12:18 pm in reply to: Break a line of text in half to the nearest wordI’ve also got another thread for how we can make a version of this that allows for three lines if you wanted to also comment there.
https://forums.creativecow.net/thread/2/1144665
-
TIneke Van Schalkwyk
August 2, 2020 at 12:16 pm in reply to: Break a line of text in half to the nearest wordThanks!
I managed to fix it by changing the font part as I needed it pulling the font from the source text of the field not the font of the text field if that makes sense. So was an easy fix.
style.setFont(comp(“00 Color Control”).layer(“Headline Text Font Style”).text.sourceText).setText(val);