From then, the crucial problem is to arrange realistic text snippets while preserving the optical balance of fully-justified composition. But since the use of a smart justification engine is proscribed, this problem leads to a puzzle that only advanced algorithms can solve. In the screenshot below, for instance, we see how a fontsquirrel.com's specimen is presented in several sizes, each line giving the illusion of a perfect aesthetic balance despite left alignment:

Viga font specimen as shown at fontsquirrel.com.

I won't go here into the study of those algorithms—albeit very challenging topic for InDesign scripters—but one can at least discern an approximate solution, based on a simple GREP Find/Change process.

Our goal is modest. We don't try to achieve a perfect right-alignment of the text (which only remains left-aligned) but we want to make it as ‘fluid’ as possible. That is, every character, no matter its location in a word, can freely flow from line to line without ever causing hyphenation. (Of course no hyphen should appear in the frame.)

Here is how characters spread throughout the entire space.

The trick is based on appending after each character a discretionary line break (InDesign terminology), i.e. the Unicode character U+200B ZERO WIDTH SPACE.

Note. — On InDesign special characters, give a look at this detailed PDF.

The GREP encoding of the discretionary line break being ~k, all you need to do is to grab . (any character) then replace it by $0~k as shown below:

‘Ultrafluid’ Line Wrap based on Find/Change.

Should you have to edit the source text? Just remove the hidden characters by reversing the query: find ~k and change it to nothing (empty field).

Note. — If you plan to use this technique repeatedly, save the GREP code in your set of predefined queries.