def change_font_offset(self, offset: List[int]):
    if (len(offset) != 2):
        raise ConfigError('Wrong offset config, should be [x, y]')
    (x, y) = offset
    if ('font' not in self.config):
        self.config['font'] = {}
    if ('offset' not in self.config['font']):
        log.warn('"offset" prop was not set')
        self.config['font']['offset'] = {}
    self.config['font']['offset']['x'] = x
    self.config['font']['offset']['y'] = y
    log.ok(f'Offset set to x: {x}, y: {y}')
def change_font_offset(self, offset: List[int]):
    if (len(offset) != 2):
        raise ConfigError('Wrong offset config, should be [x, y]')
    (x, y) = offset
    if ('font' not in self.config):
        self.config['font'] = {}
    if ('offset' not in self.config['font']):
        log.warn('"offset" prop was not set')
        self.config['font']['offset'] = {}
    self.config['font']['offset']['x'] = x
    self.config['font']['offset']['y'] = y
    log.ok(f'Offset set to x: {x}, y: {y}')