Dear Ben and Coot developers,

> I have an installation of Coot 0.7-pre-1-r3633 for 64-bit linux installed
> on to an NFS share at /programs/x86_64-linux/coot/0.7-pre-1-r3633. This is
> the CentOS 5 64-bit build provided by Paul.
> 
> On Red Hat 5, 3 of the icons in the righthand toolbar are missing:
> Rotamers, Flip Peptide and Alternate Conformation icons.

I encountered the same problem since it remains in rev 3999.
After some struggling, I found a way to fix the problem.
Replace 16 svg files in share/coot/pixmaps/ with the attached ones.

It seems a bug in libsvg, since these problematic files cannot be displayed
correctly by ImageMagick command (display) on my RedHat 5 system.


In SVG path data, lineto commands can be omitted if they follow a moveto
command (*). However, these implicit lineto are ignored, which is the cause.
Therefore, I explicitly added lineto commands (L or l) in path data of svg.

(*) http://www.w3.org/TR/SVG11/paths.html#PathDataMovetoCommands
> If a moveto is followed by multiple pairs of coordinates, 
> the subsequent pairs are treated as implicit lineto commands.

Regards,

Takaaki Fukami

-----
Dr. Takaaki Fukami (mailto:[email protected])
Discovery Research Dept. (Biostructure Gr.)
Roche Group: Chugai Pharmaceutical Co.,Ltd.



-----Original Message-----
From: Mailing list for users of COOT Crystallographic Software 
[mailto:[email protected]] On Behalf Of Ben Eisenbraun
Sent: Tuesday, October 04, 2011 11:47 PM
To: [email protected]
Subject: Re: broken icons on Red Hat 5 (but not on Red Hat 6)

On Tue, Oct 04, 2011 at 11:03:53AM +0200, Bernhard Lohkamp wrote:
> 
> Are only the icons missing or the button as well?

Only the icons. If you mouse-over the spot, it highlights and you get the
pop up help and the button works.

> Missing icons (only) is a bit more mysterious since the mentioned ones
> are not special. I.e. the only ones in another format (svg or png), so
> the libraries seem to be in place and functioning for the other icons
> (usual suspects: svg-loader, pixbuf-loaders). A bit puzzling.

Indeed. I copied undo.svg over rotamers.svg, and that icon will load
properly. I can also duplicate this on our 32-bit installation, same Coot
version, tested on CentOS 5 and Scientific Linux 6.

My user reported the problem doesn't exist in the 0.6.2 release.

-ben

--
| Ben Eisenbraun
| SBGrid Consortium                          | http://sbgrid.org       |
| Harvard Medical School                     | http://hms.harvard.edu  |

Attachment: fixed_icons.tgz
Description: fixed_icons.tgz

Reply via email to