mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
Add missing word count
This commit is contained in:
parent
55ffe97f03
commit
8139b4fa30
@ -170,7 +170,9 @@ class LineWrapper extends EventEmitter
|
||||
if w > @spaceLeft
|
||||
buffer = word
|
||||
textWidth = w
|
||||
wc = 1
|
||||
emitLine()
|
||||
|
||||
@spaceLeft = @lineWidth
|
||||
buffer = ''
|
||||
textWidth = 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user