From: Robert H. <ha...@st...> - 2012-11-02 17:49:04
|
By the way, this is interesting. 3554.666748046875 is "width x height" Apparently there is some sort of bug in Firefox that results in the width and height becoming non-integer values after repeated use of CTRL-[+] and CTRL-[-]. Use View...reset and then it should be OK, and I believe I fixed that anyway. On Fri, Nov 2, 2012 at 7:46 AM, Otis Rothenberger <osr...@ch...>wrote: > Bob, > > Chrome Windows and Mac are about 7 seconds. Firefox Windows and Mac > results in the following pop-up and no load. Am I possibly missing a > required FF setting? > > Otis > > 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] & 255; > if (p != 0) { > this.tmap[i] = org.jmol.g3d.TextRenderer.translucency[p >> 5]; > } > } > } > > > > -- > Otis Rothenberger > ot...@ch... > http://chemagic.com > > > |