Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Justifying text

From: carl:cybercraft at: 15-Dec-2002 1:40

On 14-Dec-02, Louis A. Turk wrote:
> Hi Carl, > Many thanks for your effort and time in doing this. I'll be studying > your code closely. Much of my programming involves formatting text > in various ways. I very much appreciate your help!
Hi Louis, It's just that I got interested in the problem. (: Text can be spread out easily enough with View using font/space... view layout [text "Hello World" font [space: 20x0]] The hard part is that View (or VID) strips leading and following spaces from words...
>> layout [x: text " abc "] >> probe x/text
abc and so some method to work around that has to be sussed out. The method I'm using in that example isn't quite right though... -- Carl Read