mirror of
https://github.com/sojamo/controlp5
synced 2024-11-25 23:27:57 +01:00
parent
cc775e7e31
commit
02b34a6fa6
@ -198,7 +198,8 @@ public class ControlFont {
|
|||||||
myString = w + " ";
|
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 = "";
|
myString = "";
|
||||||
}
|
}
|
||||||
if ( theLabel.getHeight( ) % theLabel.getLineHeight( ) != 0 ) {
|
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
|
// textorize, a Ruby-based font rasterizer command line utility for Mac OS X
|
||||||
// http://textorize.org/
|
// http://textorize.org/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user