Article View: comp.soft-sys.khoros
Article #943Re: postscript output of cantata
From: Peter Averkamp
Date: Thu, 17 Dec 1992 11:01
Date: Thu, 17 Dec 1992 11:01
64 lines
3384 bytes
3384 bytes
> 1.Postscript of the program.
>
> I wanted to get a postscript (color) output of the cantata workspace (only)
> with network of glyphs. Does khoros have a routine to do this?
> If it is not available (which is most likely, since I searched it) it
Wrong! use getimage to produce a viff file from the cantata workspace window,
then vpostscr to print the viff to a postcript file or device. If you cannot
use getimage (doesn't work on all 24-bit screens), use the command 'xwd' that
is is every standard X11-distribution. The resulting xwd-file can be converted
to viff by 'xwdtopnm' from the pbmplus package or to postscript by 'xpr', again
in the standard X11 distribution.
> might worthwhile to be added in the new version.
No need, as it's already there. Having the existing thing work on all 24-bit
screens would be nice, though.
> 2. Label to Glyph
>
> In the present version, there is no facility for a user defined label to
> glyph. It is necessary to have this feature especially in large programs.
> I know there is comment glyph, which is not what I wanted.
> Can this be implemented in future versions?
Half wrong. You can do it now, by taking the .pane file of the program
you want to have a different label and edit the 3rd line from the top.
Example: The file
$KHOROS_HOME/repos/cantata/subforms/inputcreate2D/vgconst.pane
has the all the UI definitions for the routine vgconst. Make a copy of
it and edit the 3rd line from the top:
-P 1 0 80x38+22+2 +10+0 'Image With Constant Pixel Values' vgconst
^^^^^^^
now put your private label at the marked position:
-P 1 0 80x38+22+2 +10+0 'Image With Constant Pixel Values' prakassh
Now you can start cantata an try your new glyph labels by reading your
new .pane-files with the 'read UIS' input under the file utilities menu.
I personally don't believe it makes much sense implementing this in future
versions of the regular glyphs, as the string real-estate on the regular
glyph symbols is very limited. User-composed 'glyphs/mini-panes' are a
whole different story, though.
Peter Averkamp
P.S.: I don't think it makes much sense bugging Mark Young and John Rasure
by CC-ing questions like this to them. They read the regular mailing
list as well and are more than loaded with work on Khoros 2.0. We
should respect that and try not to put any unnecessary noise on them.
As the manual and the FAQ suggest, requests for enhancements,etc should
go to khoros-bugs@chama.eece.unm.edu, not to the main list.
Peter Averkamp, | email:
Physics Department E20 | petav@e20.physik.tu-muenchen.de
Techn. Univ. of Munich | Phone: ++49 (89) 3209-2408 and -2814
D-8046 Garching, Germany | Fax: ++49 (89) 3209-2338
Technical Details
Message-ID:
<42218@pprg.eece.unm.edu.pprg.unm.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!umn.edu!lynx!pprg.unm.edu!daemonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!umn.edu!lynx!pprg.unm.edu!daemon From: Peter.Averkamp@e20.physik.tu-muenchen.de (Peter Averkamp) Newsgroups: comp.soft-sys.khoros Subject: Re: postscript output of cantata Message-ID: <42218@pprg.eece.unm.edu.pprg.unm.edu> Date: 17 Dec 92 11:01:48 GMT Sender: news@pprg.unm.edu Lines: 64