mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
Update text.coffee
This commit is contained in:
parent
94939a567c
commit
7fd79bb269
@ -23,7 +23,7 @@ module.exports =
|
||||
options = @_initOptions(x, y, options)
|
||||
|
||||
# Convert text to a string
|
||||
text = if text == null or text == undefined then '' else '' + text
|
||||
text = if not text? then '' else '' + text
|
||||
|
||||
# if the wordSpacing option is specified, remove multiple consecutive spaces
|
||||
if options.wordSpacing
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user