   # @return integer of font point size
   @fontSize: (text, width, height, opts, el) ->
     css =
-       color: "white"
        "font-family": "arial"
     _.extend css, opts
     _.extend css,
        left: -100000
        position: "absolute"
+       display: "inline"
 
     # check the cache
     key = "#{text.length}--#{width}--#{height}--#{JSON.stringify(css)}"

    size.w = size.width
    size.h = size.height
    size

  # @param text the string to compute size of
  # @param opts css attributes

        h: height
      ret
    catch error
      log.warn "default texts: #{text}\t  err: #{error}"
      @defaultSize text, opts['font-size']

  # @param opts css attributes
  # @return {width: [pixels], height: [pixels]}
