That's an easy one. I thought I had nipped that one in the bud, but I guess
not. It's due to the canvas being given a non-integer width or height. Very
odd. Can fix.
On Tue, Nov 20, 2012 at 2:00 PM, Philip Bays <pb...@saintmarys.edu> wrote:
> Forefox 17 was released today. I downloaded to see if it will now run
> JSMol. It will not. Get the following error message on tryig to load
> any molecule.
>
> 3554.666748046875 function (text, font3d, g3d) {
>
> var pixels = g3d.apiPlatform.getTextPixels (text, font3d,
> g3d.platform.getGraphicsForTextOrImage (this.mapWidth, this.height),
> g3d.platform.offscreenImage, this.mapWidth, this.height, this.ascent);
>
> if (pixels == null) return;
>
> this.tmap = Clazz.newByteArray (this.size, 0);
>
> for (var i = pixels.length; --i >= 0; ) {
>
> var p = pixels[i] & 0xFF;
>
> if (p != 0) {
>
> this.tmap[i] = org.jmol.g3d.TextRenderer.translucency[p >> 5];
>
> }}
>
> }
>
>
>
> J. Philip Bays
> Emeritus Professor of Chemistry
> Department of Chemistry and Physics
> Saint Mary's College
> Notre Dame, IN 46556
> pb...@saintmarys.edu
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users