diff awesome_js/robert.js @ 61:14271eedf004 laserkard

[svn r62] saving for transference to cd
author rlm
date Fri, 19 Mar 2010 07:27:37 -0400
parents 2ca94aa58033
children 781127893010
line wrap: on
line diff
     1.1 --- a/awesome_js/robert.js	Sun Mar 14 07:18:02 2010 -0400
     1.2 +++ b/awesome_js/robert.js	Fri Mar 19 07:27:37 2010 -0400
     1.3 @@ -168,7 +168,19 @@
     1.4  	
     1.5  	
     1.6  }
     1.7 -eval ( target +".attr('stroke-width', 2.3 *font/385.16 + 2.3*0.311);");
     1.8 +
     1.9 +
    1.10 +var targetFont = 2.3 *font/385.16 + 2.3*0.311;
    1.11 +
    1.12 +if (font <25)
    1.13 +{
    1.14 +
    1.15 +	targetFont = targetFont * 0.75;
    1.16 +	
    1.17 +}
    1.18 +
    1.19 +
    1.20 +eval ( target +".attr('stroke-width', targetFont);");
    1.21  //eval ( target +".attr('stroke-width', font/385.16 + 0.311);");
    1.22  
    1.23  var sizzle = eval(target+".getBBox().width;");