r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[View] discuss view related issues

Henrik
16-Apr-2006
[4695x2]
>> ? textinfo
USAGE:
    TEXTINFO face line-info line

DESCRIPTION:
     Sets the line text information in an object for a face.
     TEXTINFO is a native value.

ARGUMENTS:

     face -- The face for which the information is defined. (Type: object)

     line-info -- The object where the information will be set. (Type: 
     object)

     line -- The line to get information for. (Type: number any-string)
There is a fairly detailed description of TEXTINFO in http://www.rebol.com/docs/view-system.html
section 6.9.2
Graham
16-Apr-2006
[4697x2]
Ahh..after I implemented my own line wrapping routine :(
Anyway, good to know.
Henrik
16-Apr-2006
[4699]
does it work?
Graham
16-Apr-2006
[4700]
What work?
Henrik
16-Apr-2006
[4701]
your line wrapping routine
Graham
16-Apr-2006
[4702x6]
I've got a column of text about 40 chars, and I want it to snake 
up and down 3 columns on a page .. and it seems to work.
ie. the text to flow through the three columns.
in draw, if you place a block of text formatted with line feeds, 
it displays as is.
But in postscript, it ignores the line feed, carriage returns :(
A pity I can't pick up a draw object and move it around on screen 
:(
it would make page composition easier.
Henrik
16-Apr-2006
[4708x2]
I was messing with that once, but never got it to work properly
layering VID faces on top of the DRAW sheet and drag them around
Graham
16-Apr-2006
[4710x2]
I guess I could use Frank's tiny paint program :)
How does John's paint program do it anyway?
Henrik
16-Apr-2006
[4712x3]
I think he did it with DRAW directly early on, but I don't know how 
it works now.
his program doesn't have elements to move around
how does your program work? is it a dialect that can produce DRAW 
and PS?
Graham
16-Apr-2006
[4715]
Yes.
Henrik
16-Apr-2006
[4716]
I might need something that can do some previewing next week...
Graham
16-Apr-2006
[4717x2]
Once I get it working, I'll show you.
I'm just spending some time setting up my page so that it looks okay 
:)
Henrik
16-Apr-2006
[4719]
I'm going to do the same here with Johns dialect. Does yours produce 
PS from his dialect?
Graham
16-Apr-2006
[4720x2]
No, it uses my dialect.
I'm less concerned about scaling and rotations as I really only need 
text and lines/boxes.
Henrik
16-Apr-2006
[4722]
I see :-/
Graham
16-Apr-2006
[4723]
And you ?
Henrik
16-Apr-2006
[4724]
well, I need some scaling and 90 degree rotation. I'm creating the 
number marks you use in a marathon race to put on your chest and 
back.
Graham
16-Apr-2006
[4725x2]
Oh ...
you're going to bar code the marathon runners ??
Henrik
16-Apr-2006
[4727x2]
already have the number mark done, but there is a catch: the number 
can only be seen after printing it out, due to the construction of 
the program. it would be nice to be able to preview it before printing.
yes
Graham
16-Apr-2006
[4729]
You've already seen my psd2draw.r script .. I just feed the same 
block thru my ps dialect to get the postsrcript and write that to 
a file.
Henrik
16-Apr-2006
[4730x2]
then I would need to redo the barcode generator...
I think it's best for me right now to create a makeshift preview 
rather than an actual preview
Graham
16-Apr-2006
[4732]
are John's and my ps dialects that disimilar ?
Henrik
16-Apr-2006
[4733]
I havent' checked yours out
Graham
16-Apr-2006
[4734]
are you on Mac still?
Henrik
16-Apr-2006
[4735]
mac and windows
Graham
16-Apr-2006
[4736]
which one are you using for this?
Henrik
16-Apr-2006
[4737]
windows
Graham
16-Apr-2006
[4738x2]
Ok, you need to install some fonts.
install these http://www.rops.org/download/std35ttf.zip
Henrik
16-Apr-2006
[4740x3]
I don't think I'll be using it, as it creates too many twists for 
me.
too much code needs to be reorganized
and it has to be working perfectly no later than tuesday...
Graham
16-Apr-2006
[4743]
switching groups
Anton
17-Apr-2006
[4744]
Ah... yes... I had actually seen the textinfo docs... but just couldn't 
remember that at all !