mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
Automatically convert text to a string
This commit is contained in:
parent
753e41462b
commit
431a5186fe
@ -25,6 +25,9 @@ module.exports =
|
||||
options = x
|
||||
x = null
|
||||
|
||||
# Convert text to a string
|
||||
text = '' + text
|
||||
|
||||
# Update the current position
|
||||
if x? or y?
|
||||
@x = x or @x
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user