   Q           =
     # unicode:  T.TEXT CHR.as_ncr cid
     unicode:  CHR.as_chr cid
-    d:        T._rpr_path path
+    d:        SVGTTF._path_data_from_svg_path path
   return T.TAG 'glyph', Q
 
 #-----------------------------------------------------------------------------------------------------------

  return T.TAG 'circle', cx: xy[ 0 ], cy: xy[ 1 ], r: r, fill: '#f00'

#-----------------------------------------------------------------------------------------------------------
T._rpr_path = ( path ) ->
  return ( s[ 0 ] + s[ 1 .. ].join ',' for s in path[ 'segments' ] ).join ' '

#-----------------------------------------------------------------------------------------------------------
T.path = ( path ) ->
  path_txt = T._rpr_path path
  return T.TAG 'path', d: path_txt, fill: '#000'

#-----------------------------------------------------------------------------------------------------------



############################################################################################################
if require.main is module then do =>
  docopt    = ( require 'coffeenode-docopt' ).docopt
  # filename  = ( require 'path' ).basename __filename
  version   = ( require '../package.json' )[ 'version' ]
