Comes with previous commit. Allow linedist setting smaller than 1.0.
authorRob Haarsma <phaseIV@zonnet.nl>
Fri, 16 Jan 2004 14:50:22 +0000 (14:50 +0000)
committerRob Haarsma <phaseIV@zonnet.nl>
Fri, 16 Jan 2004 14:50:22 +0000 (14:50 +0000)
source/blender/blenkernel/intern/font.c

index 5f6e07b368d088e53fe41b696c471a1e01277db9..539468fd81f3af9879906b05d04c0d906ab7ec3b 100644 (file)
@@ -359,11 +359,12 @@ struct chartrans *text_to_curve(Object *ob, int mode)
                        ct->charnr= cnr;
                        
                        /* only empty lines are allowed smaller than 1 */
-                       if( linedist<1.0) {
-                               if(i<slen && (cu->str[i+1]=='\r' || cu->str[i+1]=='\n')) yof-= linedist;
-                               else yof-= 1.0;
-                       }
-                       else yof-= linedist;
+//                     if( linedist<1.0) {
+//                             if(i<slen && (cu->str[i+1]=='\r' || cu->str[i+1]=='\n')) yof-= linedist;
+//                             else yof-= 1.0;
+//                     }
+//                     else
+                       yof-= linedist;
                        
                        maxlen= MAX2(maxlen, xof);
                        linedata[lnr]= xof;