Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Update REQ 5021]: text in geomview
> Sometimes I would have to add text to my graphics but I couldn't > manage to do so and I couldn't find any hints in the geomview description. There are two ways at the moment to add text into your scene. 1) There is an external module available at our ftp site (ftp.geom.umn.edu) ftp.geom.umn.edu:/pub/software/geomview/newpieces/sgi/ It's called labeler. 2) There is also a file with "vector fonts" defined as handles. Here it is: # alphabet.vect # # A list of handles defining the uppercase letters of # the Roman alphabet in a fixed-size 32-by-64 font # (40-unit spacing is recommended). # # Read it into Geomview like this: # # (read geometry { < alphabet.vect }) # # Then you can write out uppercase strings like this: # # (geometry HI { LIST # { INST geom { : H } transform { 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 } } # { INST geom { : I } transform { 1 0 0 0 0 1 0 0 0 0 1 0 40 0 0 1 } } # }) # { LIST { define A { VECT 2 5 0 3 2 0 0 0 0 0 16 64 0 32 0 0 8 32 0 24 32 0 } } { define B { VECT 2 12 0 7 5 0 0 0 0 0 0 64 0 16 64 0 28 56 0 28 44 0 20 36 0 0 36 0 20 36 0 32 24 0 32 8 0 24 0 0 0 0 0 } } { define C { VECT 1 8 0 8 0 32 56 0 24 64 0 8 64 0 0 56 0 0 8 0 8 0 0 24 0 0 32 8 0 } } { define D { VECT 1 7 0 7 0 0 0 0 0 64 0 20 64 0 32 52 0 32 8 0 24 0 0 0 0 0 } } { define E { VECT 2 6 0 4 2 0 0 32 64 0 0 64 0 0 0 0 32 0 0 0 36 0 24 36 0 } } { define F { VECT 2 5 0 3 2 0 0 0 0 0 0 64 0 32 64 0 0 36 0 24 36 0 } } { define G { VECT 1 10 0 10 0 32 56 0 24 64 0 8 64 0 0 56 0 0 8 0 8 0 0 24 0 0 32 8 0 32 36 0 16 36 0 } } { define H { VECT 3 6 0 2 2 2 0 0 0 0 0 0 0 64 0 32 0 0 32 64 0 0 36 0 32 36 0 } } { define I { VECT 3 6 0 2 2 2 0 0 0 4 64 0 28 64 0 16 64 0 16 0 0 4 0 0 28 0 0 } } { define J { VECT 2 8 0 2 6 0 0 12 64 0 36 64 0 28 64 0 28 8 0 20 0 0 8 0 0 0 8 0 0 20 0 } } { define K { VECT 2 5 0 2 3 0 0 0 0 0 0 64 0 24 64 0 0 36 0 32 0 0 } } { define L { VECT 1 3 0 3 0 0 64 0 0 0 0 32 0 0 } } { define M { VECT 1 5 0 5 0 0 0 0 0 64 0 16 36 0 32 64 0 32 0 0 } } { define N { VECT 1 4 0 4 0 0 0 0 0 64 0 32 0 0 32 64 0 } } { define O { VECT 1 9 0 9 0 24 0 0 8 0 0 0 8 0 0 52 0 8 64 0 24 64 0 32 52 0 32 8 0 24 0 0 } } { define P { VECT 1 7 0 7 0 0 0 0 0 64 0 16 64 0 28 56 0 28 44 0 20 36 0 0 36 0 } } { define Q { VECT 2 11 0 9 2 0 0 24 0 0 8 0 0 0 8 0 0 52 0 8 64 0 24 64 0 32 52 0 32 8 0 24 0 0 20 16 0 36 0 0 } } { define R { VECT 2 9 0 7 2 0 0 0 0 0 0 64 0 16 64 0 28 56 0 28 44 0 16 36 0 0 36 0 16 36 0 32 0 0 } } { define S { VECT 1 12 0 12 0 32 56 0 24 64 0 8 64 0 0 56 0 0 44 0 8 36 0 20 36 0 32 24 0 32 8 0 24 0 0 8 0 0 0 8 0 } } { define T { VECT 2 4 0 2 2 0 0 0 64 0 32 64 0 16 0 0 16 64 0 } } { define U { VECT 1 6 0 6 0 0 64 0 0 8 0 8 0 0 24 0 0 32 8 0 32 64 0 } } { define V { VECT 1 3 0 3 0 0 64 0 16 0 0 32 64 0 } } { define W { VECT 1 5 0 5 0 0 64 0 4 0 0 16 28 0 28 0 0 32 64 0 } } { define X { VECT 2 4 0 2 2 0 0 0 64 0 32 0 0 0 0 0 32 64 0 } } { define Y { VECT 2 5 0 2 3 0 0 0 64 0 16 36 0 32 64 0 16 36 0 16 0 0 } } { define Z { VECT 1 4 0 4 0 0 64 0 32 64 0 0 0 0 32 0 0 } } { define 0 { VECT 2 11 0 2 9 0 0 0 20 0 28 56 0 24 0 0 8 0 0 0 8 0 0 48 0 8 64 0 24 64 0 32 52 0 32 12 0 24 0 0 } } { define 1 { VECT 2 5 0 2 3 0 0 4 0 0 28 0 0 4 44 0 16 64 0 16 0 0 } } { define 2 { VECT 1 7 0 7 0 0 56 0 8 64 0 24 64 0 32 56 0 32 40 0 0 0 0 32 0 0 } } { define 3 { VECT 2 13 0 2 11 0 0 8 36 0 24 36 0 0 56 0 8 64 0 24 64 0 32 56 0 32 44 0 24 36 0 32 24 0 32 8 0 24 0 0 8 0 0 0 8 0 } } { define 4 { VECT 2 5 0 2 3 0 0 28 64 0 28 0 0 12 64 0 0 36 0 36 36 0 } } { define 5 { VECT 1 9 0 9 0 28 64 0 4 64 0 0 36 0 24 36 0 32 24 0 32 8 0 24 0 0 8 0 0 0 8 0 } } { define 6 { VECT 1 12 0 12 0 32 56 0 24 64 0 8 64 0 0 56 0 0 8 0 8 0 0 24 0 0 32 8 0 32 28 0 24 36 0 8 36 0 0 28 0 } } { define 7 { VECT 1 4 0 4 0 0 56 0 4 64 0 32 64 0 8 0 0 } } { define 8 { VECT 1 16 0 16 0 20 36 0 28 44 0 28 56 0 20 64 0 12 64 0 4 56 0 4 44 0 12 36 0 20 36 0 32 24 0 32 8 0 24 0 0 8 0 0 0 8 0 0 24 0 12 36 0 } } { define 9 { VECT 1 12 0 12 0 32 44 0 24 36 0 8 36 0 0 44 0 0 56 0 8 64 0 24 64 0 32 56 0 32 8 0 24 0 0 8 0 0 0 8 0 } } } Hope this helped. --Ed
|
||
Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors |
|||
site hosted by |