From 84853322b846fd211203d31c8bfd7a0010d23d0b Mon Sep 17 00:00:00 2001 From: Devon Govett Date: Sun, 17 Jul 2011 00:20:28 -0400 Subject: [PATCH] Remove old code. --- lib/mixins/text.coffee | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/mixins/text.coffee b/lib/mixins/text.coffee index 23901ba..707593c 100644 --- a/lib/mixins/text.coffee +++ b/lib/mixins/text.coffee @@ -140,7 +140,7 @@ module.exports = @addContent "#{x} #{y} Td" # font and font size - @addContent "/#{@_font.id} #{@_fontSize} Tf"# unless @_font is state.font and @_fontSize is state.fontSize + @addContent "/#{@_font.id} #{@_fontSize} Tf" # rendering mode mode = if options.fill and options.stroke then 2 else if options.stroke then 1 else 0 @@ -159,8 +159,6 @@ module.exports = @addContent "ET" # keep track of text states - state.font = @_font - state.fontSize = @_fontSize state.mode = mode state.wordSpacing = wordSpacing