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
83b5a965d7
commit
4f26f05d29
@ -226,7 +226,7 @@ module.exports =
|
||||
@addContent "1 0 0 1 #{@number(x)} #{@number(y)} Tm"
|
||||
|
||||
# font and font size
|
||||
@addContent "/#{@_font.id} #{@_fontSize} Tf"
|
||||
@addContent "/#{@_font.id} #{@number(@_fontSize)} Tf"
|
||||
|
||||
# rendering mode
|
||||
mode = if options.fill and options.stroke then 2 else if options.stroke then 1 else 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user