diff --git a/src/org/oscim/renderer/layer/TextItem.java b/src/org/oscim/renderer/layer/TextItem.java index 774a0f50..9ae1d98d 100644 --- a/src/org/oscim/renderer/layer/TextItem.java +++ b/src/org/oscim/renderer/layer/TextItem.java @@ -118,7 +118,9 @@ public class TextItem { this.string = ti.string; this.text = ti.text; this.width = ti.width; + this.length = ti.length; return this; + } /* copy properties from 'ti' and add offset @@ -130,6 +132,7 @@ public class TextItem { this.string = ti.string; this.text = ti.text; this.width = ti.width; + this.length = ti.length; return this; }