Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!ucdavis!iris!lim
From: lim@iris.ucdavis.edu (Lloyd Lim)
Newsgroups: comp.sys.mac.programmer
Subject: wrapping text
Message-ID: <5127@ucdavis.ucdavis.edu>
Date: 15 Aug 89 20:46:40 GMT
Sender: uucp@ucdavis.ucdavis.edu
Reply-To: lim@iris.ucdavis.edu (Lloyd Lim)
Distribution: usa
Organization: U.C. Davis - Department of Electrical Engineering and Computer Science
Lines: 20

Here's a couple things I haven't figured out to do cleanly.

How would you determine the smallest sized square that you could fit a piece
of text in?  The text should wrap when possible without breaking words.  The
best I've been able to think of is to start with a square that is the same
size as the length of the largest word and keep increasing the size of the
square until it fits.

How would you format a piece of text inside a circle?  Would you just place
the text inside a square that fits in the circle for simplicity (but wasting
some of the circle's area)?  Or would you place each line in its own text
box (for lack of a better term)?  PICT compatibility is necessary so I have
to use solutions that will transport to other apps too.

Any suggestions?  Thanks.

+++
Lloyd Lim     Internet: lim@iris.ucdavis.edu (128.120.57.20)
              Compuserve: 72647,660
              US Mail: 146 Lysle Leach Hall, U.C. Davis, Davis, CA 95616