class_docstr: FreeType font wrapper (requires _imagingft service)
class_docstr_tok: ["FreeType","font","wrapper","(","requires","_imagingft","service",")"]
docstr: :return: A tuple of the font ascent (the distance from the baseline to
      the highest outline point) and descent (the distance from the
      baseline to the lowest outline point, a negative value)
docstr_tok: [":","return",":","A","tuple","of","the","font","ascent","(","the","distance","from","the","baseline","to","the","highest","outline","point",")","and","descent","(","the","distance","from","the","baseline","to","the","lowest","outline","point",",","a","negative","value",")"]
code: def getmetrics(self):
      """
      :return: A tuple of the font ascent (the distance from the baseline to
          the highest outline point) and descent (the distance from the
          baseline to the lowest outline point, a negative value)
      """
      return self.font.ascent, self.font.descent
  
imports: import base64
  import os
  import sys
  from io import BytesIO
  from .None import Image
  from ._util import isDirectory, isPath
label_desc: Use image node_id 6 for calling the FreeTypeFont obj's underlying member method code with example usage: obj.getmetrics() and returns: self,  self