code: def _font_to_quadratic(input_path, output_path=None, **kwargs):
      ufo = open_ufo(input_path)
      logger.info("Converting curves for %s", input_path)
      if font_to_quadratic(ufo, **kwargs):
          logger.info("Saving %s", output_path)
          if output_path:
              ufo.save(output_path)
          else:
              ufo.save()  # save in-place
      elif output_path:
          _copytree(input_path, output_path)
  
file_path: catboost/contrib/python/fonttools/fontTools/cu2qu/cli.py
imports: import os
  import argparse
  import logging
  import shutil
  import multiprocessing
  from contextlib import closing
  from functools import partial
  import fontTools
  from .ufo import font_to_quadratic, fonts_to_quadratic
label_desc: Use image node_id 3 for calling a global function with example usage: _font_to_quadratic(input_path, output_path) without return types