[Chimera-users] can 2D label font be bold?

Eric Pettersen pett at cgl.ucsf.edu
Tue Mar 27 10:52:20 PDT 2007


Hi EJ,
	We put out 2D Labels as a usable but unfinished tool.  Anticipated  
improvements include: changing fonts; bold/italics; Greek characters;  
angstrom/degree symbols; arrows; imported images; and justification  
control for multi-line labels (roughly in priority order).   
Unfortunately each Chimera developer has about a dozen balls in the  
air and another half-dozen dropped balls bouncing on the ground.   
Finishing 2D Labels is one of the "dropped balls" for me currently.   
I will try to up the priority of getting these improvements included,  
but even then it will be behind several other projects for now.
	If you are willing to edit Python code (which is plain text), you  
can make _all_ 2D Labels be bold by changing line 69 of <your chimera  
installation>/share/Ilabel/Label.py so that this part:  
"style=chimera.OGLFont.normal" is instead:  
"style=chimera.OGLFont.bold".  If you are on a Mac, you will have to  
right-click on Chimera.app in the Finder and choose "Show Package  
Contents" to get to the file, and it's location will be Contents/ 
Resources/share/Ilabel/Label.py.

--Eric

                         Eric Pettersen
                         UCSF Computer Graphics Lab
                         pett at cgl.ucsf.edu
                         http://www.cgl.ucsf.edu


On Mar 26, 2007, at 10:45 PM, EJ Pone wrote:

> Hi,
> I was wondering if there's a way to make the font of 2D labels bold. I
> can change the font of labels associated with atoms/residues etc thru
> Favorites > Preferences > Background > Label font > Bold, but I can't
> figure out how to do this for 2D labels. The reason I am interested is
> that the bold font looks really appealing in labels when I make  
> movies,
> but the regular font for 2D labels looks a little bit weak. Thank you
> for any suggestions.
> EJ
> UC Irvine
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20070327/b796fe09/attachment.html>


More information about the Chimera-users mailing list