 #===========================================================================================================
 #
 #-----------------------------------------------------------------------------------------------------------
-@main = ( settings ) ->
+@generate = ( settings ) ->
   input_routes    = settings[ 'input-routes' ]
   # debug settings
   glyphs          = {}

CND                       = require 'cnd'
CHR                       = require 'coffeenode-chr'
rpr                       = CND.rpr.bind CND
badge                     = 'SVGTTF/main'
log                       = CND.get_logger 'plain',   badge
info                      = CND.get_logger 'info',    badge
alert                     = CND.get_logger 'alert',   badge

  fallback_source = null
  min_cid         = +Infinity
  max_cid         = -Infinity
  font_name       = settings.fontname
  correction      = options.correction
  info "reading files for font #{rpr font_name}"
  #.........................................................................................................
