mirror of
https://github.com/sojamo/controlp5
synced 2024-11-22 14:07:55 +01:00
parent
cc775e7e31
commit
02b34a6fa6
@ -198,7 +198,8 @@ public class ControlFont {
|
||||
myString = w + " ";
|
||||
}
|
||||
}
|
||||
txt.add( myString.substring( 0 , myString.length( ) - 1 ) );
|
||||
//txt.add( myString.substring( 0 , myString.length( ) - 1 ) );
|
||||
txt.add( myString.substring( 0 , PApplet.max( 0 , myString.length( ) - 1 ) ) );
|
||||
myString = "";
|
||||
}
|
||||
if ( theLabel.getHeight( ) % theLabel.getLineHeight( ) != 0 ) {
|
||||
@ -289,4 +290,3 @@ public class ControlFont {
|
||||
|
||||
// textorize, a Ruby-based font rasterizer command line utility for Mac OS X
|
||||
// http://textorize.org/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user