parameters: (font, char)
return_statement: return numpy.array(image.convert("L").getdata(),
                         dtype=numpy.float)
docstring: Represents a character in a font as a numpy array of pixels
docstring_summary: Represents a character in a font as a numpy array of pixels
docstring_tokens: Represents a character in a font as a numpy array of pixels
function: def get_char_array(font, char):
      """ Represents a character in a font as a numpy array of pixels """
      image = Image.new("RGBA", _SIZE, _BACKGROUND_COLOUR)
      draw = ImageDraw.Draw(image)
      draw.text((0, 0), char, _TEXT_COLOUR, font=font)
  
      return numpy.array(image.convert("L").getdata(),
                         dtype=numpy.float)
function_tokens: def get_char_array ( font , char ) : image = Image . new ( "RGBA" , _SIZE , _BACKGROUND_COLOUR ) draw = ImageDraw . Draw ( image ) draw . text ( ( 0 , 0 ) , char , _TEXT_COLOUR , font = font ) return numpy . array ( image . convert ( "L" ) . getdata ( ) , dtype = numpy . float )