def _prepare_glyph(self, glyph, current_words):
glyphs = []
size = self.font.size(' '.join(current_words[:-1] + ['']))
def _prepare_glyph(self, glyph, current_words):
glyphs = []
size = self.font.size(' '.join(current_words[:-1] + ['']))
for glyph_key in glyph.glyph_keys:
image_name, colour = MARKUP_MAP[glyph_key]
if colour is None:
colour = self.colour
image = resources.get_image(
image_name, transforms=(EIGHT_BIT, blender(colour)))
for glyph_key in glyph.glyph_keys:
image_name, colour = MARKUP_MAP[glyph_key]
if colour is None:
colour = self.colour
image = resources.get_image(
image_name, transforms=(EIGHT_BIT, blender(colour)))