diff --git a/lib/line_wrapper.coffee b/lib/line_wrapper.coffee index 887f1d2..f94423b 100644 --- a/lib/line_wrapper.coffee +++ b/lib/line_wrapper.coffee @@ -33,7 +33,7 @@ class LineWrapper extends EventEmitter @column = 1 # calculate the maximum Y position the text can appear at - @maxY = @startY + options.height - @document.currentLineHeight() + @maxY = @startY + options.height # make sure we're actually on the page # and that the first line of is never by