cwilms-loyalist's picture

Chris (@cwilmsloyalist)

Groups

  • Vuo Founder

Compositions

cwilms-loyalist's picture

OK, Magneson I just noticed the Process List can retain Font and formatting as part of the list so that's something to keep in mind in the future.

I ended up solving my issue just now by using a Select Input (Boolean) and to only passthrough the text into the Arrange Layers in Column node if text was present. This gave me the formatting control I needed and prevented empty rows from making it into the list. I'll try playing around with your method a little more once I have more time, I think using it with the Append Texts node may help me get the result I'm looking for. Thanks for your help.

cwilms-loyalist's picture

Use the Process List node to collect the text into a list. As a bonus, you'll get a tidier approach to the whole comp as well :)

Thanks Magneson (Magneson) but I'm not sure I understand how that would work to use different fonts and colours for the different rows as mentioned above. In my original comp I have several sources for the text strings, I just left the Make Text Layerportion for the attached comp to simplify the example. In the original comp a barcode (data matrix) is read which generates some of the text strings used and also calls some other information from an XML file (that is provided to me) which generates the other portions of the text I need rendered. I have a subcomp I use to break the long text strings into smaller word chunks operating them into different rows. All of the sources are positioned on various layers for rendering to a window. The problem is that it will render all rows even if they contain no text so I end up with large gaps between my blocks of text. I would like to find a way to remove the empty rows from the final render.

cwilms-loyalist's picture

How can I ignoring empty text layers on render?

In the attached example composition how would you have the Arrange Layers in Column ignore a Make Text Layer if it's empty (blank)? Currently because the Make Text Layeris set to 90pt font it renders the row as a 90pt high row. What I'm looking for is that it acts as if Row 2 isn't even there if it contains no text and renders Row 1 and Row 3 right on top of each other, see attached image below. In my actual composition there are more text rows and some layers have different fonts and colours.

Pages