+ if markup_data is not None:
+ size = self.font.size(
+ ' '.join(current_words[:-1]) + ' ')
+ pos = (size[0] * EIGHT_BIT_SCALE,
+ size[1] * line_count * EIGHT_BIT_SCALE)
+ pos = (pos[0] + self.padding, pos[1] + self.padding)
+ image_map[pos] = resources.get_image(
+ markup_data[1], transforms=(EIGHT_BIT,))
+ continue