yes, that's masking the value to a byte,  0xFF -- 8 bits on.

On Thu, Nov 15, 2012 at 11:53 AM, Otis Rothenberger
<osrot...@chemagic.com>wrote:

> Bob,
>
> I'm still having problems with Firefox in general, but I did lose local
> usage on Chrome and MSIE after the Windows update. MISE gave me access
> denied errors locally. I still have local control on my Mac (Safari and
> Chrome) - nice because of speed while troubleshooting.
>
> On the former Firefox issue, is the ampersand (var p = pixels[i] &
> 255;) correct in the following code?
>
> 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
> o...@chemagic.com
> http://chemagic.com
>
>
>
>
> On Nov 15, 2012, at 11:25 AM, Robert Hanson wrote:
>
> Overnight I got an automatic Windows update; don't know if that is
> involved, but I notice that this  morning I can no longer troubleshoot
> JSmol locally on Firefox (16.0.2, Oct. 26 release) anymore. Works fine
> loading files from the web, just not locally.
>
> --
> 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
>
>
>
>
> ------------------------------------------------------------------------------
> 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

Reply via email to