go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Closed REQ 5140]:


  • To: software@geom
  • Subject: [Closed REQ 5140]:
  • From: "Tamara Munzner" <munzner>
  • Date: Wed, 28 Dec 94 00:25:40 -0600

Hi,
> So, please let me know wether or not fonts are incorporated into
> 'OOGL', or if ready-made 'geoms' are available.

There are two possibilities:
 
1. Use the labeller, a tool which creates a nice-looking geometric
objects given a text string and a PostScript font. You can get it via
anonymous ftp from geom.umn.edu in the
pub/software/geomview/newpieces/sgi directory. "labeler-sgi.tar.Z" is
the binary, "labeler-src.tar.Z" is the source. The Geomview external
module interface only runs on SGIs. The core program theoretically
could run on another machines if it has Display PostScript.  The text
is nice-looking, but will slow Geomview down since it uses many
polygons for each letter.

2. There is indeed a file of ready-made geoms. Specifically, vectors
defined as handles. Each letter is drawn with only a few vectors, so
Geomview can handle a fair number amount of text before slowing down.
The following (quite long) Geomview command will load the font:

------------------------------------------------------------------------
(read geometry { 
# 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).
# 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 helps,

Tamara Munzner		The Geometry Center	     ((555) 555-5555
munzner at geom.umn.edu    http://www.geom.umn.edu/people/munzner.html


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo