Amorano/Jovimetrix

Text Generator EDGE - WRAP property doesn't seem to work

Closed this issue · 7 comments

Maybe I'm misunderstanding how this works, but the "WRAP" value for "EDGE" doesn't seem to do anything.

I'd like to wrap long strings like "2023-11-11_150818_883535 [1530266472] [3072x3072] [fennPhoto_v10]" into multiple lines. AUTOSIZE works to fit it all into one line, but then the font is too small.

The edge mode is for wrapping the image, not the text. It is the same edge mode for all the nodes that have it.

I do not have an "auto-wrap text" function in that node. Sorry. The best you can do is split the text yourself --
i.e. add carriage returns in the lines
like
this
someplace.

I will add auto-wrap to the list!

So I was misunderstanding what that property is for. Thanks for the explanation.

The problem with adding carriage returns is that the string is being passed in automatically from a file name, so now I'll have to figure out how to add carriage returns after so many characters, but at least that's an option.

You can close this if you like.

You can close this if you like.

No! Its a good option to have -- a little effort to add, but not much.

So I was misunderstanding what that property is for. Thanks for the explanation.

The problem with adding carriage returns is that the string is being passed in automatically from a file name, so now I'll have to figure out how to add carriage returns after so many characters, but at least that's an option.

You can close this if you like.

So, I am a dum dum. This is actually already in there. If you set auto-fit mode, and change the COLS setting to be something other than 0 it will start to auto-fit the words by wrapping them based on the # of "columns" you select. In the picture you can see I used 40 chars/columns to start where it should split -- it allows the line to wrap into 2. If you drop it to around 35 it will be 3ish.

Hope that helps; sorry it was already there an I literally forgot!

image

I did try that (though I was confused by exactly what COLS does since the value doesn't seem to change anything), but "AUTOSIZE" only seems to change the font size to whatever fits on one line. Not sure what I'm doing wrong here. My image size is slightly bigger than your setting in your example, but I also tried 256x256, which made no difference.

image

If you hold down ctrl+shift with one (or multiple) of my nodes selected, you will see a tooltip pop up that tried to explain them a bit.

I have pushed my current latest, which should resolve the problem and work as intended.

image

Yes, it works now, and what a great feature! I had no idea about that hidden shortcut.