Revision: 20228
          http://sourceforge.net/p/jmol/code/20228
Author:   hansonr
Date:     2015-01-21 15:47:07 +0000 (Wed, 21 Jan 2015)
Log Message:
-----------
Jmol.___JmolVersion="14.3.12_2015.01.21"

bug fix: (JavaScript) using "Helvetica Neue, Sans-serif" instead of just 
"Sans-serif" (org.jmol.awtjs2d.JSFont.java)
 - gets around Safari bug in Safari v. 7

Modified Paths:
--------------
    trunk/Jmol/src/org/jmol/awtjs2d/JSFont.java
    trunk/Jmol/src/org/jmol/viewer/Jmol.properties

Modified: trunk/Jmol/src/org/jmol/awtjs2d/JSFont.java
===================================================================
--- trunk/Jmol/src/org/jmol/awtjs2d/JSFont.java 2015-01-21 13:56:54 UTC (rev 
20227)
+++ trunk/Jmol/src/org/jmol/awtjs2d/JSFont.java 2015-01-21 15:47:07 UTC (rev 
20228)
@@ -5,7 +5,7 @@
 /**
  * methods required by Jmol that access java.awt.Font
  * 
- * private to org.jmol.awt
+ * private to org.jmol.awtjs2d
  * 
  */
 
@@ -15,7 +15,7 @@
     // "px" are different from "pt" here.
     // "pt" is the height of an X, ascent.
     // "px" is the ascent + descent.
-    fontFace = (fontFace.equals("Monospaced") ? "Courier" : 
fontFace.startsWith("Sans") ? "Sans-Serif" : "Serif");    
+    fontFace = (fontFace.equals("Monospaced") ? "Courier" : 
fontFace.startsWith("Sans") ? "Helvetica Neue, Sans-serif" : "Serif");    
     return (isBold ? "bold " : "") 
         + (isItalic ? "italic " : "") 
         + fontSize + type + " " + fontFace;

Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties
===================================================================
--- trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2015-01-21 13:56:54 UTC 
(rev 20227)
+++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2015-01-21 15:47:07 UTC 
(rev 20228)
@@ -17,8 +17,14 @@
 TODO: add 2D graphics panel for Ramachandran and NBO-style 2D graphics -- send 
to browser as data uri?
 
 
-Jmol.___JmolVersion="14.3.11_2015.01.20"
+Jmol.___JmolVersion="14.3.12_2015.01.21"
 
+bug fix: (JavaScript) using "Helvetica Neue, Sans-serif" instead of just 
"Sans-serif" (org.jmol.awtjs2d.JSFont.java)
+ - gets around Safari bug in Safari v. 7
+
+
+JmolVersion="14.3.11_2015.01.20"
+
 bug fix: Languages lost in Jmol Application
 
 new feature: select :"X"  where quotes are used now forces case sensitivity

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to