Revision: 20339
          http://sourceforge.net/p/jmol/code/20339
Author:   hansonr
Date:     2015-02-26 15:45:07 +0000 (Thu, 26 Feb 2015)
Log Message:
-----------
Jmol.___JmolVersion="14.2.12_2015.02.26"

bug fix: imageFontScaling integer instead of float; does not scale 
appropriately on resize
bug fix: writing image of MO fails to write info (Jmol 12 or before)
bug fix: legacy non-XML JVXL reading does not color map
 

Modified Paths:
--------------
    branches/v14_2/Jmol/src/org/jmol/viewer/Jmol.properties
    branches/v14_2/Jmol/src/org/jmol/viewer/Viewer.java

Modified: branches/v14_2/Jmol/src/org/jmol/viewer/Jmol.properties
===================================================================
--- branches/v14_2/Jmol/src/org/jmol/viewer/Jmol.properties     2015-02-26 
15:24:18 UTC (rev 20338)
+++ branches/v14_2/Jmol/src/org/jmol/viewer/Jmol.properties     2015-02-26 
15:45:07 UTC (rev 20339)
@@ -7,6 +7,7 @@
 
 Jmol.___JmolVersion="14.2.12_2015.02.26"
 
+bug fix: imageFontScaling integer instead of float; does not scale 
appropriately on resize
 bug fix: writing image of MO fails to write info (Jmol 12 or before)
 bug fix: legacy non-XML JVXL reading does not color map
  

Modified: branches/v14_2/Jmol/src/org/jmol/viewer/Viewer.java
===================================================================
--- branches/v14_2/Jmol/src/org/jmol/viewer/Viewer.java 2015-02-26 15:24:18 UTC 
(rev 20338)
+++ branches/v14_2/Jmol/src/org/jmol/viewer/Viewer.java 2015-02-26 15:45:07 UTC 
(rev 20339)
@@ -3322,7 +3322,7 @@
         && checkMotionRendering(T.antialiasdisplay)
         : isImageWrite && !isExport ? g.antialiasImages : false);
     imageFontScaling = (isReset || width <= 0 ? 1
-        : (antialiased ? 2 : 1) * (g.zoomLarge == (height > width) ? height : 
width) / getScreenDim());
+        : (antialiased ? 2f : 1f) * (g.zoomLarge == (height > width) ? height 
: width) / getScreenDim());
     if (width > 0) {
       dimScreen.width = width;
       dimScreen.height = height;

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


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to