Lines Matching full:height
22 width, height = image.size
35 for row in range(0, height):
50 for octet in range(0, int(height / 8)):
82 # calculate width + height
94 height = fh_max + args.y_offset
97 height = 8 * int((fh_max + args.y_offset + 7) / 8)
102 if height != args.height:
103 raise Exception('text height {} mismatch with -y {}'.format(height, args.height))
106 image = Image.new('1', (width, height), 'white')
112 # calculate width + height
130 glyph = image.crop((x_offset, 0, x_offset + args.width, args.height))
172 static const uint8_t cfb_font_{name:s}_{width:d}{height:d}[{elem:d}][{b:.0f}] = {{\n"""
176 height=args.height,
178 b=args.width / 8 * args.height))
192 FONT_ENTRY_DEFINE({name}_{width}{height},
194 {height},
196 cfb_font_{name}_{width}{height},
200 """ .format(name=args.name, width=args.width, height=args.height,
242 "-y", "--height", required=True, type=int,
243 help="height of the CFB font elements in pixels")