diff --git a/flowtextview/src/main/java/uk/co/deanwild/flowtextview/FlowTextView.java b/flowtextview/src/main/java/uk/co/deanwild/flowtextview/FlowTextView.java
index 78b9eba..8843169 100644
--- a/flowtextview/src/main/java/uk/co/deanwild/flowtextview/FlowTextView.java
+++ b/flowtextview/src/main/java/uk/co/deanwild/flowtextview/FlowTextView.java
@@ -156,6 +156,10 @@ protected void onDraw(Canvas canvas) {
                         chunkSize = getChunk(thisBlock, maxWidth);
                         int thisCharOffset = charOffsetEnd + chunkSize;
 
+                        if(chunkSize > thisBlock.length()){
+                            chunkSize = thisBlock.length();
+                        }
+
                         if (chunkSize > 1) {
                             thisLineStr = thisBlock.substring(0, chunkSize);
                         } else {