(g)
return path, g['uni'], g['binary_fp']
Converts SplineSet in SFD font to str path.
Converts SplineSet in SFD font to str path.
Converts SplineSet in SFD font to str path .
def _convert_to_path(g):
  """Converts SplineSet in SFD font to str path."""
  path = svg_utils.sfd_to_path_list(g)
  path = svg_utils.add_missing_cmds(path, remove_zs=False)
  path = svg_utils.normalize_based_on_viewbox(
      path, '0 0 {} {}'.format(g['width'], g['vwidth']))
  return path, g['uni'], g['binary_fp']
def _convert_to_path ( g ) : path = svg_utils . sfd_to_path_list ( g ) path = svg_utils . add_missing_cmds ( path , remove_zs = False ) path = svg_utils . normalize_based_on_viewbox ( path , '0 0 {} {}' . format ( g [ 'width' ] , g [ 'vwidth' ] ) ) return path , g [ 'uni' ] , g [ 'binary_fp' ]