AsciiText
Fields:
MFString string - array of strings to display. Each string
is a new line.
MFFloat width - Suggested width of each string. Used
to deal with the differences in set
widths in different implementations.
Defaults to 0 which indicates use of
natural width.
SFFloat spacing - Multiply this by the height of the text
for base-to-base vertical line spacing
SFEnum justification - CENTER, LEFT, RIGHT
----------
FontStyle
Fields:
SFFloat size - height of the font in object space (also
determines base-to-base vertical line spacing)
SFEnum family - TYPEWRITER, SERIF, SANS: the general look of
the text.
SFBitMask style - BOLD, ITALIC: modifications to the look.
----------
Note that I've renamed it to AsciiText to allow us to do a more robust
text node later and not have a name clash. I've axed the parts field and
have added a width field, which I suggested a bit ago. The FontStyle node
is essentially unchanged.
As I have said before text not representable in this node can always be
included as polygons.
I have not included an annotation flag. I think this is an important
issue but it would be a mistake to overload the functionality of this node
with annotation.
Does this seem like a good form for inclusion in VRML 1.0?
-- chris marrin ,,. Silicon Graphics, Inc. ,`` 1$` (415) 390-5367 ,|` ,$` [email protected] b` ,P` ,,. mP b" , 1$' ,.` ,b` ,` :$$' ,|` mP ,` ,mm ,b" b" ,` ,mm m$$ ,m ,,`P$$ m$` ,b` .` ,mm ,.`'|$P ,|"1$` ,b$P ,,` :$1 b$` ,$: :,`` |$$ ,:` $$` ,|` ,$$,,`"$$ .` :$| b$| _m$`,:` :$1 ,:` ,$Pm|` ` :$$,..;"' |$: P$b, _;b$$b$1" |$$ ,,`` ,$$" ``' $$ ```"```'" b$P `""` ""` ,P` `"` '$$b,,...-'"As a general rule, don't solve puzzles that open portals to Hell." - excerpt from "A Horror Movie Character's Survival Guide"