Graphics

 View Only
  • 1.  Text Encapsulated in a Defined Area "“ Auto-squeeze and Word Wrap

    Posted 03-23-2015 21:14
    Hi Everyone,

    I have a question about auto adjusting text in a given area and I hope there's a simple solution out there for me.

    I have text that I want to display over a quad. There's enough room for three lines of text. The text will vary in length so I want the ability to auto-squeeze uniformly if the text tries past the third line. Separately, I've been able to Auto-squeeze equally across a single line, and I've been able to word wrap so it doesn't go over the defined text area, but I haven't been able to combine both options to gain my desired effect.

    Any tips or advice?

    Richard


  • 2.  RE: Text Encapsulated in a Defined Area "“ Auto-squeeze and Word Wrap

    Posted 03-30-2015 11:02
    I'm also looking for the same ability, but still haven't found a solution.. Basically you want auto-squeeze to come in to play after the third line of text and auto-wrap to stop at this third line.

    #XPression


  • 3.  RE: Text Encapsulated in a Defined Area "“ Auto-squeeze and Word Wrap

    Posted 03-30-2015 18:42
    I've also run into this problem and am looking for a solution. I have been trying scripting to solve it but have not had any success.

    #XPression


  • 4.  RE: Text Encapsulated in a Defined Area "“ Auto-squeeze and Word Wrap

    Posted 03-30-2015 19:06
    Thanks Guys for the responses so far.

    Tobias, yes that's exactly what I'm trying to do.

    Steve, I tried the scripting, but still haven't figured anything out.

    Still working on a solution. I'll let you all know if I make any head way.

    #XPression


  • 5.  RE: Text Encapsulated in a Defined Area "“ Auto-squeeze and Word Wrap

    Posted 08-13-2015 01:34
    Richard, I was just curious if you eventually found a solution? I've been working on other things and this got put on the back burner...

    #XPression


  • 6.  RE: Text Encapsulated in a Defined Area "“ Auto-squeeze and Word Wrap

    Posted 08-13-2015 11:46
    Hi Steve,

    Thanks for following up. To answer your question, I had to work around it. Fortunately for me, the text was coming from a data feed. On the data server side, I had to break up the text block into individual lines, taking in the fact that once the text block exceeded a certain amount of characters divide the words evenly across all the lines. These individual lines were placed in separate cells. In Xpression, each line became a text object that was auto squeezed and linked to the corresponding cells.

    #XPression


  • 7.  RE: Text Encapsulated in a Defined Area "“ Auto-squeeze and Word Wrap

    Posted 07-31-2018 05:25
    Hope it's not too taboo to bring back posts from the dead, but I was wondering if anyone has worked out this much-desired ability either with time or newer versions of Xpression? I'm trying to work out some tweet graphics and would love to be able to balance word wrap with auto squeeze (height & width) to fit text in a limited area. I have only really seen solutions that limit/truncate a set number of lines lines from my searches on the forum, and my ideas with visual logic seem to send things into a loop, making the text twitch around. Any thoughts?

    Thanks!
    #XPression