   draw_page ctx
   ctx.restore()
 
-  ctx.fillStyle = 'black'
   license = "©2013 by Oliver Steele. "
   license += "This work is licensed under a Creative Commons Attribution 3.0 United States License."
   draw_title license
-  , font: "4pt Times", x: page_margin, y: canvas.height
-  , gravity: 'bottom'
+  , font: "4pt Times", fillStyle: 'black'
+  , x: page_margin, y: canvas.height, gravity: 'bottom'
 
   unless pdf
     filename = "#{DefaultFilename or 'test'}.png"

draw_fretboard_frets = ->
  style = FretboardStyle
  for fret in FretNumbers
    x = fret * style.fret_width + h_gutter
    ctx.beginPath()
    ctx.moveTo x, style.h_gutter
    ctx.lineTo x, style.h_gutter + (StringCount - 1) * style.string_spacing
    ctx.lineWidth = 3 if fret_number == 0
    ctx.stroke()
    ctx.lineWidth = 1

draw_fretboard_finger_position = ({string, fret}, options) ->
  {is_root, color} = options || {}
  style = FretboardStyle
  x = h_gutter + (fret - 1) * style.fret_width + style.fret_width / 2
  x = h_gutter if fret == 0
  ctx.beginPath()
  ctx.arc x, v_gutter + (6 - string) * style.string_spacing, 7, 0, 2 * Math.PI, false
  ctx.fillStyle = 'red'
  ctx.fillStyle = color or 'white' unless is_root
  ctx.lineWidth = 2 unless is_root
  ctx.fill()
  ctx.stroke()
  ctx.strokeStyle = 'black'
  ctx.lineWidth = 1


#
# Drawing Chord Diagrams
#

ChordDiagramStyle =

  , header_height: 40
  , (cell) ->

    draw_title "#{chord.name} Chords"
    , font: '20px Impact', fillStyle: 'rgb(128, 128, 128)'
    , x: 0, y: 0, gravity: 'top'

    ctx.save()
    ctx.translate 285, 20
