def __init__(self, size=20, file=GUI_PATH + r'/data/fonts/segoeuil.ttf', unit=POINT):
        """
        Creates a Font object.
        
        :param size: The font size (See http://www.pygame.org/docs/ref/font.html#pygame.font.Font for more infos)
        :param file: The file of the font file
        """

        if unit == self.PIXEL:
            size = self.px_to_pt(size)

        super(Font, self).__init__(file, size)
        self.font_size = size
        self.font_name = file
def __init__ ( self , size = 20 , file = GUI_PATH + r'/data/fonts/segoeuil.ttf' , unit = POINT ) : if unit == self . PIXEL : size = self . px_to_pt ( size ) super ( Font , self ) . __init__ ( file , size ) self . font_size = size self . font_name = file
Creates a Font object.
        
        :param size: The font size (See http://www.pygame.org/docs/ref/font.html#pygame.font.Font for more infos)
        :param file: The file of the font file