Justify text in a field
Alejandro Tejada
capellan2000 at yahoo.com
Thu Jul 28 21:50:45 EDT 2005
on Thu, 28 Jul 2005
Jonathan Lynch wrote:
> As long as a field is wide enough, and a given
> screen line contains
> enough words, manipulating expanded and condensed
> characters should make
> this possible - sounds kind of difficult to me.
Yes, That's what i thought. :-(
on Thu, 28 Jul 2005
xavier wrote:
> Actually IT IS POSSIBLE!!!
> Jonathan flipped my mind switch back in gear ;)
> Give a field's width w and the formattedwidth of the
> text in line l...
> you might have to add each word's formattedwith (and
> get pissed off
> at the definition of a word in rev) - then divide
> the difference by
> the number of words in the line and then insert
> "tiny" spaces in between
> the words... This should do the trick...
I agree, but the ideal could be to use
unicode fonts, that have many spaces of
different width. :-D
<http://www.cs.tut.fi/~jkorpela/chars/spaces.html>
<http://www.microsoft.com/typography/developers/fdsspec/spaces.htm>
Visit my site:
http://www.geocities.com/capellan2000/
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
More information about the use-livecode
mailing list