diff -r 87be46d62023 -r 7d7fbc491cd1 modules/Monotype.pmod/Line.pike
--- a/modules/Monotype.pmod/Line.pike	Fri Aug 30 01:21:14 2013 -0400
+++ b/modules/Monotype.pmod/Line.pike	Fri Aug 30 13:27:52 2013 -0400
@@ -227,6 +227,7 @@
 		}
 		if(x[0] > 15 || x[0] < 1) throw(Error.Generic(sprintf("Bad Justification code %d/%d\n", x[0], x[1])));
 		if(x[1] > 15 || x[1] < 1) throw(Error.Generic(sprintf("Bad Justification code %d/%d\n", x[0], x[1])));
+		
 		return x;
 	}
 
@@ -460,6 +461,14 @@
   	        // then, figure out what that adjustment is in terms of 0075 and 0005
 				    else
   	        {  	            
+  	          float max;
+              float want = me->get_set_width() * config->setwidth * 0.0007685;
+              if(config->mould >=12) max = 0.170;
+              else max = 0.160; 
+              
+              werror("Sort width check: wanted = %f, max allowed = %f inches.\n", want, max);
+              if(want > max) throw(Error.Generic(sprintf("Requested sort wider than mould would allow: %f > %f inches.\n", want, max)));
+
 //werror("needed units: %d, max_ls_adjustment: %d\n", needed_units, max_ls_adjustment);
   	          if(needed_units > max_ls_adjustment || abs(needed_units) > max_reduction_units)
   	          {
diff -r 87be46d62023 -r 7d7fbc491cd1 webapps/Keyboard/templates/ribbon/generate.ep
--- a/webapps/Keyboard/templates/ribbon/generate.ep	Fri Aug 30 01:21:14 2013 -0400
+++ b/webapps/Keyboard/templates/ribbon/generate.ep	Fri Aug 30 13:27:52 2013 -0400
@@ -96,7 +96,7 @@
 <%#select "name": "points", "value": "12", "options": ({"4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "18", "24"})%>
 
 <p>
-Line Length (picas/ciceros)
+Total Cast Line Length (picas/ciceros)
 <%#input "type":"text",  "name": "linelength", "size":"5", "value": "30"%> 
 <%#input "type": "radio", "name": "pointsystem", "value": "12.0", "checked":"1"%> UK-Anglo 
 Pica 
