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

Re: [ccp4bb]: labels in Molscript and Raster3D

***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***

On Tuesday 07 January 2003 08:38, Q. Steven Xu wrote:
> I am using Molscript v2.1.2 and Raster3D v2.4f to draw some figures
> for publication. Greek characters have to be used to label some
> secondary structural elements. However, the "lablemask" settings can
> only be applied to PostScript output only. If I used Raster3D to
> render the image, all greek characters would change back to Roman
> ones. So my question is how to make greek lables in Molscript or
> Raster3D that can match to the render command.

Raster3D (specifically the label3d script) uses Ghostscript to process
labels, and can thus handle any PostScript font including Symbol.

If I understand your problem correctly, the underlying cause is that 
Molscript is not passing the label+font information to Raster3D in the 
first place. Instead it converts the individual characters to vectors and
passes the vectors to Raster3D.  This could be fixed by hacking 
Molscript to simply pass the coords+font+label directly as a set of 
Raster3D input records.  If I get some time (hah!) I'll take a look at it.
Or I would be happy to provide guidance on the correct Raster3D 
input syntax if someone wants to tackle it.

Ethan A Merritt       merritt@u.washington.edu
Biomolecular Structure Center Box 357742
University of Washington, Seattle, WA 98195
phone: (206)543-1421
FAX:   (206)685-7002