def text_objects(self, text, color, size):
    """Render font based on a choice of four different sizes.

    Parameters for Render are: (text, antialias, color).

    Args:
        self (class App): Main game class.
        text (str): Text to be rendered.
        color (tuple): Color of text.
        size (str): Size of text.

    Returns:
        tuple: [0]=Font to be blit to display; [1]=rectangle for button.
    """
    text_surface = self.xs_font.render(text, True, color)
    if size == "xs":
        text_surface = self.xs_font.render(text, True, color)
    elif size == "s":
        text_surface = self.s_font.render(text, True, color)
    elif size == "m":
        text_surface = self.m_font.render(text, True, color)
    elif size == "l":
        text_surface = self.l_font.render(text, True, color)
    return text_surface, text_surface.get_rect()