From a9bb4e04db03b1b35ef09bba4311bb244f1834ac Mon Sep 17 00:00:00 2001 From: Devon Govett Date: Fri, 22 Jul 2011 10:51:35 -0400 Subject: [PATCH] Support for options.x and options.y in text method is no more. --- lib/mixins/text.coffee | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/mixins/text.coffee b/lib/mixins/text.coffee index 994942b..3a99356 100644 --- a/lib/mixins/text.coffee +++ b/lib/mixins/text.coffee @@ -10,8 +10,6 @@ module.exports = # Keeps track of what has been set in the document @_textState = - font: null - fontSize: null mode: 0 wordSpacing: 0 characterSpacing: 0 @@ -28,8 +26,8 @@ module.exports = x = null # Update the current position - @x = x or options.x or @x - @y = y or options.y or @y + @x = x or @x + @y = y or @y # add current font to page if necessary @page.fonts[@_font.id] ?= @_font.ref