     text = '' + text
     return if text.length is 0
 
-    state = @_textState
-
     # handle options
     align = options.align or 'left'
     wordSpacing = options.wordSpacing or 0


    # rendering mode
    mode = if options.fill and options.stroke then 2 else if options.stroke then 1 else 0
    @addContent "#{mode} Tr" unless mode is state.mode

    # Character spacing
    @addContent characterSpacing + ' Tc' unless characterSpacing is state.characterSpacing
    
    # Add the actual text
    # If we have a word spacing value, we need to encode each word separately

    
    # restore flipped coordinate system
    @restore()
