Lines Matching +full:column +full:- +full:offset

5 # SPDX-License-Identifier: Apache-2.0
66 value = value[::-1]
83 fw = size[2] - size[0] # right - left
84 fh = size[3] - size[1] # bottom - top
101 raise Exception('text width {} mismatch with -x {}'.format(width, args.width))
103 raise Exception('text height {} mismatch with -y {}'.format(height, args.height))
113 fw = size[2] - size[0] # right - left
114 fh = size[3] - size[1] # bottom - top
118 xpos = (width - fw) / 2 + 1
148 if arg.startswith("--bindir"):
149 # Drop. Assumes --bindir= was passed with '=' sign.
177 elem=args.last - args.first + 1,
211 "-z", "--zephyr-base",
215 "-d", "--dump", action="store_true",
220 "-i", "--input", required=True, type=argparse.FileType('rb'), metavar="FILE",
223 "-t", "--type", default="auto", choices=["auto", "font", "image"],
228 "-s", "--size", type=int, default=10, metavar="POINTS",
233 "-o", "--output", type=argparse.FileType('w'), default="-", metavar="FILE",
236 "--bindir", type=str,
239 "-x", "--width", required=True, type=int,
242 "-y", "--height", required=True, type=int,
245 "-n", "--name", default="custom",
248 "--first", type=int, default=PRINTABLE_MIN, metavar="CHARCODE",
251 "--last", type=int, default=PRINTABLE_MAX, metavar="CHARCODE",
254 "--center-x", action='store_true',
257 "--y-offset", type=int, default=0,
258 help="vertical offset for character glyphs (default: %(default)s)")
260 "--hpack", dest='hpack', default=False, action='store_true',
261 help="generate bytes encoding row data rather than column data (default: %(default)s)")
263 "--msb-first", action='store_true',
264 help="packed content starts at high bit of each byte (default: lsb-first)")