mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
Merge pull request #184 from Nathanaela/Invalid_Page_Size_Calc
Fixes the invalid calculation of page size in Line Wrapper.
This commit is contained in:
commit
d44a8cbca6
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user