[559] in SIPB bug reports

home help back first fref pref prev next nref lref last post

Re: idraw

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Wed May 31 12:57:11 1989

Date: Wed, 31 May 89 12:57:51 EDT
From: "Robert S. French" <rfrench@ATHENA.MIT.EDU>
To: <jjs@ATHENA.MIT.EDU>
Cc: bug-sipb@ATHENA.MIT.EDU
In-Reply-To: <jjs@ATHENA.MIT.EDU>'s message of Tue, 30 May 89 22:26:06 EDT
   From: <jjs@ATHENA.MIT.EDU>
   Date: Tue, 30 May 89 22:26:06 EDT


   When reading definitions from the ~/.Xdefaults file idraw does not
   accept lines beginning with the exclamation mark (!) as comments.
   From the xrdb manual pages I understand this to be the standard for
   ~/.Xdefaults files.  Alternatively, why not use an ~/.idrawrc or
   similar initialization file, as none of the pattern, brush, etc.
   definitions have anything to do with X.

Theoretically idraw gets its resources from the X resources database
that you load with xrdb.  You shouldn't be using .Xdefaults files
anymore.  Convert it to a resource database (using xdef2res), rename
it to .Xresources, and place the line "xrdb ~/.Xresources" in your
.login file.  Then idraw (and all other up-to-date X clients) will
behave properly.  The resources database is meant to specify any
program-specific information that an application needs.  The
pattern's, brushes, fonts, colors, etc., seem very X-oriented to me...

   And it would really be nice if the text had the right length at least
   with no magnification.  Or at least if the object markers were at the
   right place, even if the actual letters are not.

This is a problem with the X fonts.  idraw allows you to specify
arbitrary font name pairs: X font vs. postscript font/point size.  X
doesn't currently have any fonts that are the right width for a given
postscript font, so they will look different on the screen and paper.
X also doesn't support drawing text at an angle, which is why rotated
text looks so silly.  This could be fixed with a lot of hacking, but I
think the developers of idraw have other bugs they want to fix first.

   Otherwise, I think this is a pretty nice program and I am glad it is
   around.

Thanks! :-)

				Rob French,
					SIPB

P.S. A brand new version of idraw will be installed as soon as I can
get it to compile.  It handles X resources better, supports color,
etc.

home help back first fref pref prev next nref lref last post