code: def load_fonts(self, fonts_config):
      for language in fonts_config:
          font_path = fonts_config[language]
          font_height = self.get_valid_height(font_path)
          font = ImageFont.truetype(font_path, font_height)
          self.font_dict[language] = font
  
file_path: PaddleOCR/StyleText/engine/text_drawers.py
imports: from PIL import Image, ImageDraw, ImageFont
  import numpy
  import cv2
  from utils.logging import get_logger
label_desc: Use image node_id 2 for calling the StdTextDrawer obj's underlying member method code with example usage: obj.load_fonts(fonts_config) without return types