def render(self):
        fnt = font.load('', self.font_size)

        h = fnt.ascent - fnt.descent
        w = self.window.width

        self.labels = []
        x = 0
        for align in 'top center baseline bottom'.split():
            label = align.upper() + 'y'
            self.labels.append(font.Text(fnt, label, x, 50, valign=align))
            x += self.labels[-1].width
dataset/ETHPy150Open ardekantur/pyglet/tests/font/VALIGN.py/TEST_VALIGN.render/original