Text in shape

image
I need to order text into shape like that.
I dont know the text length.
That possible?

Possible experiment:

  • Create an array of the line lengths (e.g.: 400,400,390,380,350)
  • Loop through the array, creating a new label each time. Insert the letters one by one into the label, and after each insertion of a single letter, check if the width of the label is still smaller than the line length (according to the array in the appropriate place). If not, place the label in a container (here you need to advance Y) and move forward in the loop, where a new label will be created as above, and so on.

Thanks!
I want to check if ZIM have solution for that

I don't think so. :frowning:

1 Like

Hi @amihanya sorry, I missed this one. Let's see, no... I don't think we have a way to do that out-of-the-box. But it would be cool to be able to fill a blob with text. So if a way is found, then it might be good to add it to ZIM.

Are you hoping the text is all the same size?

Maybe LabelWords will help which will divide the text up into words. Then as @Netanela says, do some line calculations at font sizes. Once you lock into the optimal size, then you have the option to fit() the line to the width perhaps and that would make slightly different size lines but might look nice to go to the edge of the shape.

Thanks!
I hope all the text be same side in the shape